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
This commit is contained in:
Joe Taylor 2018-03-28 14:53:07 +00:00
parent 67a41a9f1d
commit 55e9635b47
1 changed files with 3 additions and 3 deletions

View File

@ -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 ();