From 55e9635b47df20ac48098d9f28768d2811260982 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 28 Mar 2018 14:53:07 +0000 Subject: [PATCH] Tune should work even if selected Tx message is blank. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 230ede8bb..2d84e2a5e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3295,10 +3295,10 @@ void MainWindow::guiUpdate() if(m_ntx == 7) txMsg=ui->genMsg->text(); if(m_ntx == 8) txMsg=ui->freeTextMsg->currentText(); int msgLength=txMsg.trimmed().length(); - if(msgLength==0) on_stopTxButton_clicked(); + if(msgLength==0 and !m_tune) on_stopTxButton_clicked(); - if(g_iptt==0 and ((m_bTxTime and fTR<0.75) or m_tune ) and - (msgLength>0)) { //### Allow late starts + if(g_iptt==0 and ((m_bTxTime and fTR<0.75 and msgLength>0) or m_tune)) { + //### Allow late starts icw[0]=m_ncw; g_iptt = 1; setRig ();