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
This commit is contained in:
Joe Taylor 2016-10-13 16:39:16 +00:00
parent 1cc278cce6
commit 443cbe1794
1 changed files with 4 additions and 1 deletions

View File

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