mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04: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_fastGraph->setMode(m_mode);
|
||||||
m_config.frequencies ()->filter (m_config.region (), mode);
|
m_config.frequencies ()->filter (m_config.region (), mode);
|
||||||
auto const& row = m_config.frequencies ()->best_working_frequency (m_freqNominal);
|
auto const& row = m_config.frequencies ()->best_working_frequency (m_freqNominal);
|
||||||
if (row >= 0) {
|
|
||||||
ui->bandComboBox->setCurrentIndex (row);
|
ui->bandComboBox->setCurrentIndex (row);
|
||||||
|
if (row >= 0) {
|
||||||
on_bandComboBox_activated (row);
|
on_bandComboBox_activated (row);
|
||||||
}
|
}
|
||||||
ui->rptSpinBox->setSingleStep(1);
|
ui->rptSpinBox->setSingleStep(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user