From 443cbe1794b0e85c58cd05b703e8182a406480ce Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 13 Oct 2016 16:39:16 +0000 Subject: [PATCH] Switching VHF off in JT9 mode should make the submode spinner invisible. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7171 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4558fe24f..240f29071 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1418,7 +1418,10 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog "Auto-Tx-Enable Disarmed"); displayDialFrequency (); bool vhf {m_config.enable_VHF_features ()}; - if (!vhf) ui->sbSubmode->setValue (0); + if (!vhf) { + ui->sbSubmode->setValue (0); + if(m_mode=="JT9") ui->sbSubmode->setVisible(false); + } setup_status_bar (vhf); bool b = vhf && (m_mode=="JT4" or m_mode=="JT65" or m_mode=="ISCAT" or m_mode=="JT9" or m_mode=="MSK144");