mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-24 10:50:29 -05:00
Satellite Tracker: invoke init on swagger Satellite Tracker settings since it contains a list. Fixes #948
This commit is contained in:
parent
c3c770050b
commit
f80b47854c
@ -4468,6 +4468,7 @@ bool WebAPIRequestMapper::getFeatureSettings(
|
|||||||
else if (featureSettingsKey == "SatelliteTrackerSettings")
|
else if (featureSettingsKey == "SatelliteTrackerSettings")
|
||||||
{
|
{
|
||||||
featureSettings->setSatelliteTrackerSettings(new SWGSDRangel::SWGSatelliteTrackerSettings());
|
featureSettings->setSatelliteTrackerSettings(new SWGSDRangel::SWGSatelliteTrackerSettings());
|
||||||
|
featureSettings->getSatelliteTrackerSettings()->init();
|
||||||
featureSettings->getSatelliteTrackerSettings()->fromJsonObject(settingsJsonObject);
|
featureSettings->getSatelliteTrackerSettings()->fromJsonObject(settingsJsonObject);
|
||||||
}
|
}
|
||||||
else if (featureSettingsKey == "SimplePTTSettings")
|
else if (featureSettingsKey == "SimplePTTSettings")
|
||||||
|
Loading…
Reference in New Issue
Block a user