1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00

Satellite Tracker GUI: update list of satellites in target combo from settings in the displaySettings method

This commit is contained in:
f4exb 2021-07-03 00:04:14 +02:00
parent f80b47854c
commit 66eb7c1e33

View File

@ -313,6 +313,12 @@ void SatelliteTrackerGUI::displaySettings()
blockApplySettings(true);
ui->latitude->setValue(m_settings.m_latitude);
ui->longitude->setValue(m_settings.m_longitude);
ui->target->clear();
for (const QString& s : m_settings.m_satellites) {
ui->target->addItem(s);
}
ui->target->setCurrentIndex(ui->target->findText(m_settings.m_target));
if (m_settings.m_dateTime == "")
{