Reject "double-click on call" when the word is clearly not a callsign.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@4704 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2014-11-30 17:04:54 +00:00
parent 1e9ba7740b
commit 6bab3d03de

View File

@ -1668,7 +1668,9 @@ void MainWindow::selectCall2(bool ctrl) //selectCall2
int i1=t.indexOf(" ",i);
QString hiscall=t.mid(i0+1,i1-i0-1);
if(hiscall!="") {
if(hiscall.length() < 13) doubleClickOnCall(hiscall, ctrl);
int n=hiscall.length();
if( n>2 and n<13 and hiscall.toDouble()==0.0 and \
hiscall.mid(2,-1).toInt()==0) doubleClickOnCall(hiscall, ctrl);
}
}
//doubleClickOnCall