mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
Correct settings keys for Satellite Tracker settings dialog. Fixes #1642
This commit is contained in:
parent
bb3b2fd0ad
commit
db0d03861b
@ -517,7 +517,29 @@ void SatelliteTrackerGUI::on_displaySettings_clicked()
|
||||
new DialogPositioner(&dialog, true);
|
||||
if (dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
m_settingsKeys.append("deviceSettings");
|
||||
m_settingsKeys.append("heightAboveSeaLevel");
|
||||
m_settingsKeys.append("predictionPeriod");
|
||||
m_settingsKeys.append("passStartTime");
|
||||
m_settingsKeys.append("passFinishTime");
|
||||
m_settingsKeys.append("minAOSElevation");
|
||||
m_settingsKeys.append("minPassElevation");
|
||||
m_settingsKeys.append("rotatorMaxAzimuth");
|
||||
m_settingsKeys.append("rotatorMaxElevation");
|
||||
m_settingsKeys.append("aosSpeech");
|
||||
m_settingsKeys.append("losSpeech");
|
||||
m_settingsKeys.append("aosCommand");
|
||||
m_settingsKeys.append("losCommand");
|
||||
m_settingsKeys.append("updatePeriod");
|
||||
m_settingsKeys.append("dopplerPeriod");
|
||||
m_settingsKeys.append("defaultFrequency");
|
||||
m_settingsKeys.append("azElUnits");
|
||||
m_settingsKeys.append("groundTrackPoints");
|
||||
m_settingsKeys.append("dateFormat");
|
||||
m_settingsKeys.append("utc");
|
||||
m_settingsKeys.append("tles");
|
||||
m_settingsKeys.append("replayEnabled");
|
||||
m_settingsKeys.append("replayStartDateTime");
|
||||
m_settingsKeys.append("sendTimeToMap");
|
||||
applySettings();
|
||||
plotChart();
|
||||
}
|
||||
|
@ -413,6 +413,9 @@ void SatelliteTrackerSettings::applySettings(const QStringList& settingsKeys, co
|
||||
if (settingsKeys.contains("aosCommand")) {
|
||||
m_aosCommand = settings.m_aosCommand;
|
||||
}
|
||||
if (settingsKeys.contains("losSpeech")) {
|
||||
m_losSpeech = settings.m_losSpeech;
|
||||
}
|
||||
if (settingsKeys.contains("losCommand")) {
|
||||
m_losCommand = settings.m_losCommand;
|
||||
}
|
||||
@ -452,6 +455,9 @@ void SatelliteTrackerSettings::applySettings(const QStringList& settingsKeys, co
|
||||
if (settingsKeys.contains("replayEnabled")) {
|
||||
m_replayEnabled = settings.m_replayEnabled;
|
||||
}
|
||||
if (settingsKeys.contains("replayStartDateTime")) {
|
||||
m_replayStartDateTime = settings.m_replayStartDateTime;
|
||||
}
|
||||
if (settingsKeys.contains("sendTimeToMap")) {
|
||||
m_sendTimeToMap = settings.m_sendTimeToMap;
|
||||
}
|
||||
@ -606,6 +612,9 @@ QString SatelliteTrackerSettings::getDebugString(const QStringList& settingsKeys
|
||||
if (settingsKeys.contains("replayEnabled") || force) {
|
||||
ostr << " m_replayEnabled: " << m_replayEnabled;
|
||||
}
|
||||
if (settingsKeys.contains("replayStartDateTime") || force) {
|
||||
ostr << " m_replayStartDateTime: " << m_replayStartDateTime.toString().toStdString();
|
||||
}
|
||||
if (settingsKeys.contains("sendTimeToMap") || force) {
|
||||
ostr << " m_sendTimeToMap: " << m_sendTimeToMap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user