From f80b47854c27126e993c01a9d92d77114d1b916e Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 2 Jul 2021 23:50:40 +0200 Subject: [PATCH] Satellite Tracker: invoke init on swagger Satellite Tracker settings since it contains a list. Fixes #948 --- sdrbase/webapi/webapirequestmapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrbase/webapi/webapirequestmapper.cpp b/sdrbase/webapi/webapirequestmapper.cpp index af99f9449..a1a2d1ff9 100644 --- a/sdrbase/webapi/webapirequestmapper.cpp +++ b/sdrbase/webapi/webapirequestmapper.cpp @@ -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")