Protect against trying to parse a blank line in selectHound().

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8522 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-02-22 14:28:59 +00:00
parent 94a4e90290
commit 0be7d13b9a

View File

@ -7369,6 +7369,7 @@ void MainWindow::selectHound(QString line)
* <Enter> is equivalent to double-clicking on the top-most line. * <Enter> is equivalent to double-clicking on the top-most line.
*/ */
if(line.length()==0) return;
QString houndCall=line.split(" ",QString::SkipEmptyParts).at(0); QString houndCall=line.split(" ",QString::SkipEmptyParts).at(0);
// Don't add a call already enqueued or in QSO // Don't add a call already enqueued or in QSO