mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Ensure band/frequency combo box edit shows correct band
This commit is contained in:
parent
fcc5df35d3
commit
a623ed0baf
@ -6621,8 +6621,8 @@ void MainWindow::switch_mode (Mode mode)
|
||||
m_fastGraph->setMode(m_mode);
|
||||
m_config.frequencies ()->filter (m_config.region (), mode);
|
||||
auto const& row = m_config.frequencies ()->best_working_frequency (m_freqNominal);
|
||||
ui->bandComboBox->setCurrentIndex (row);
|
||||
if (row >= 0) {
|
||||
ui->bandComboBox->setCurrentIndex (row);
|
||||
on_bandComboBox_activated (row);
|
||||
}
|
||||
ui->rptSpinBox->setSingleStep(1);
|
||||
|
Loading…
Reference in New Issue
Block a user