Bug fix: it crashed if you double-clicked on a line with no decode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3028 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-03-01 17:49:36 +00:00
parent 2da8ab783c
commit 9785c228ad
2 changed files with 3 additions and 2 deletions

View File

@ -1266,6 +1266,7 @@ void MainWindow::doubleClickOnCall(bool ctrl)
if(i4>60) i4=60;
QString t3=t.mid(i1,i4);
QStringList t4=t3.split(" ",QString::SkipEmptyParts);
if(t4.length() <7) return;
int nfreq=int(t4.at(4).toFloat());
ui->TxFreqSpinBox->setValue(nfreq);
g_pWideGraph->setQSOfreq(nfreq);

View File

@ -1,7 +1,7 @@
[Setup]
AppName=wsjtx
AppVerName=wsjtx Version 0.5 r2791
AppCopyright=Copyright (C) 2001-2012 by Joe Taylor, K1JT
AppVerName=wsjtx Version 0.5 r3026
AppCopyright=Copyright (C) 2001-2013 by Joe Taylor, K1JT
DefaultDirName=c:\wsjtx
DefaultGroupName=wsjtx