From c55db678a2b6cdd6056db3096da319ce709ac17a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 21 Feb 2018 17:16:03 +0000 Subject: [PATCH] Don't allow a blank message to be auto-sent by Hound. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8519 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 766ba907d..1fdff7715 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2980,7 +2980,7 @@ void MainWindow::readFromStdout() //readFromStdout if(decodedtext.string().contains("/")) w.append(" +00"); //Add a dummy report if(w.size()>=3) { QString foxCall=w.at(1); - if(w.at(0)==m_config.my_callsign()) { + if(w.at(0)==m_config.my_callsign() and ui->tx3->text().length()>0) { if(w.at(2)=="RR73") { auto_tx_mode(false); on_logQSOButton_clicked(); @@ -3680,7 +3680,6 @@ void MainWindow::guiUpdate() void MainWindow::startTx2() { - if(m_currentMessage.trimmed().length()==0) return; //Don't transmit blank messages. if (!m_modulator->isActive ()) { // TODO - not thread safe double fSpread=0.0; double snr=99.0;