1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00

Satellite Tracker: invoke init on swagger Satellite Tracker settings since it contains a list. Fixes #948

This commit is contained in:
f4exb 2021-07-02 23:50:40 +02:00
parent c3c770050b
commit f80b47854c

View File

@ -4468,6 +4468,7 @@ bool WebAPIRequestMapper::getFeatureSettings(
else if (featureSettingsKey == "SatelliteTrackerSettings")
{
featureSettings->setSatelliteTrackerSettings(new SWGSDRangel::SWGSatelliteTrackerSettings());
featureSettings->getSatelliteTrackerSettings()->init();
featureSettings->getSatelliteTrackerSettings()->fromJsonObject(settingsJsonObject);
}
else if (featureSettingsKey == "SimplePTTSettings")