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
This commit is contained in:
Joe Taylor 2018-02-21 17:16:03 +00:00
parent 6b28068c4d
commit c55db678a2

View File

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