mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 10:01:57 -05:00
Prevent crash when transmitting a 2-word message.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3123 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
3f1d3a32ec
commit
57b4acc1ea
@ -1385,8 +1385,7 @@ void MainWindow::guiUpdate()
|
||||
}
|
||||
|
||||
QString t2=QDateTime::currentDateTimeUtc().toString("hhmm");
|
||||
if(itext==0 and w[1]==m_myCall) {
|
||||
t=w[2];
|
||||
if(itext==0 and w[1]==m_myCall and w.length()>=3) {
|
||||
int i1;
|
||||
bool ok;
|
||||
i1=t.toInt(&ok);
|
||||
@ -1403,7 +1402,7 @@ void MainWindow::guiUpdate()
|
||||
}
|
||||
}
|
||||
}
|
||||
if(itext==1 or w[2]=="73") m_qsoStop=t2;
|
||||
if(itext==1 or (w.length()==3 and w[2]=="73")) m_qsoStop=t2;
|
||||
m_restart=false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user