From 02fee1fe27459b0693bcf6d47847ca19a0252f8e Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 15 Dec 2017 21:36:58 +0000 Subject: [PATCH] In Hound mode, F4 ==> ntx=1. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8334 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 75358d337..327818899 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4541,18 +4541,20 @@ void MainWindow::clearDX () m_qsoStart.clear (); m_qsoStop.clear (); genStdMsgs (QString {}); - if (1 == ui->tabWidget->currentIndex()) - { - ui->genMsg->setText(ui->tx6->text()); - m_ntx=7; - m_gen_message_is_cq = true; - ui->rbGenMsg->setChecked(true); - } - else - { + if (ui->tabWidget->currentIndex() == 1) { + ui->genMsg->setText(ui->tx6->text()); + m_ntx=7; + m_gen_message_is_cq = true; + ui->rbGenMsg->setChecked(true); + } else { + if(m_mode=="FT8" and m_config.bHound()) { + m_ntx=1; + ui->txrb1->setChecked(true); + } else { m_ntx=6; ui->txrb6->setChecked(true); } + } m_QSOProgress = CALLING; }