mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 12:51:49 -05:00
Fix restoring frequencies.
This commit is contained in:
parent
33629b77e2
commit
e89623f64d
@ -505,7 +505,7 @@ void FreqScanner::processScanResults(const QDateTime& fftStartTime, const QList<
|
||||
else
|
||||
{
|
||||
if (m_guiMessageQueue) {
|
||||
m_guiMessageQueue->push(MsgStatus::create(QString("Scanning: No active channels - Max power %1 dB").arg(maxPower)));
|
||||
m_guiMessageQueue->push(MsgStatus::create(QString("Scanning: No active channels - Max power %1 dB").arg(maxPower, 0, 'f', 1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -523,9 +523,11 @@ void FreqScannerGUI::displaySettings()
|
||||
ui->measurement->setCurrentIndex((int)m_settings.m_measurement);
|
||||
ui->mode->setCurrentIndex((int)m_settings.m_mode);
|
||||
|
||||
ui->table->blockSignals(true);
|
||||
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]);
|
||||
}
|
||||
ui->table->blockSignals(false);
|
||||
|
||||
// Order and size columns
|
||||
QHeaderView* header = ui->table->horizontalHeader();
|
||||
|
Loading…
Reference in New Issue
Block a user