1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Update annotations when restoring settings.

This commit is contained in:
srcejon 2023-09-29 21:18:27 +01:00
parent e89623f64d
commit f8f9d270df

View File

@ -524,8 +524,10 @@ void FreqScannerGUI::displaySettings()
ui->mode->setCurrentIndex((int)m_settings.m_mode); ui->mode->setCurrentIndex((int)m_settings.m_mode);
ui->table->blockSignals(true); ui->table->blockSignals(true);
for (int i = 0; i < m_settings.m_frequencies.size(); i++) { for (int i = 0; i < m_settings.m_frequencies.size(); i++)
{
addRow(m_settings.m_frequencies[i], m_settings.m_enabled[i], m_settings.m_notes[i]); addRow(m_settings.m_frequencies[i], m_settings.m_enabled[i], m_settings.m_notes[i]);
updateAnnotation(i);
} }
ui->table->blockSignals(false); ui->table->blockSignals(false);