Don't allow restart with "ISCAT B" mode label unless VHF features are enabled.

This commit is contained in:
Joe Taylor 2020-05-26 10:28:14 -04:00
parent ee8c6915b6
commit eeed9b5a2e

View File

@ -921,7 +921,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
set_mode (m_mode); set_mode (m_mode);
if(m_mode=="Echo") monitor(false); //Don't auto-start Monitor in Echo mode. if(m_mode=="Echo") monitor(false); //Don't auto-start Monitor in Echo mode.
ui->sbSubmode->setValue (vhf ? m_nSubMode : 0); ui->sbSubmode->setValue (vhf ? m_nSubMode : 0); //Submodes require VHF features
if(m_mode=="ISCAT" and !vhf) mode_label.setText("ISCAT A");
if(m_mode=="MSK144") { if(m_mode=="MSK144") {
Q_EMIT transmitFrequency (1000.0); Q_EMIT transmitFrequency (1000.0);
} else { } else {