mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 01:52:05 -05:00
Make LogQSO a "Do Nothing" if callsign is blank.
Fix a bug in handling messages with no embedded blanks. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3115 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
65c5d7a735
commit
0c8950ff58
@ -1348,8 +1348,10 @@ void MainWindow::guiUpdate()
|
||||
f.close();
|
||||
}
|
||||
QStringList w=t.split(" ",QString::SkipEmptyParts);
|
||||
t="";
|
||||
if(w.length()==3) t=w[2];
|
||||
icw[0]=0;
|
||||
if(m_After73 and (w[2]=="73" or itext!=0)) {
|
||||
if(m_After73 and (t=="73" or itext!=0)) {
|
||||
icw[0]=m_ncw;
|
||||
if(m_promptToLog) on_logQSOButton_clicked();
|
||||
}
|
||||
@ -1945,6 +1947,7 @@ void MainWindow::on_genStdMsgsPushButton_clicked() //genStdMsgs button
|
||||
|
||||
void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
||||
{
|
||||
if(m_hisCall=="") return;
|
||||
QDateTime t = QDateTime::currentDateTimeUtc();
|
||||
QString date=t.toString("yyyyMMdd");
|
||||
QFile f("wsjtx.log");
|
||||
|
Loading…
Reference in New Issue
Block a user