1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 04:03:30 -05:00

Call init for PerTesterSettings as it contains a list of strings

This commit is contained in:
Jon Beniston 2021-07-03 08:12:12 +01:00
parent 66eb7c1e33
commit 3e1523b220

View File

@ -4463,6 +4463,7 @@ bool WebAPIRequestMapper::getFeatureSettings(
else if (featureSettingsKey == "PERTesterSettings") else if (featureSettingsKey == "PERTesterSettings")
{ {
featureSettings->setPerTesterSettings(new SWGSDRangel::SWGPERTesterSettings()); featureSettings->setPerTesterSettings(new SWGSDRangel::SWGPERTesterSettings());
featureSettings->getPerTesterSettings()->init();
featureSettings->getPerTesterSettings()->fromJsonObject(settingsJsonObject); featureSettings->getPerTesterSettings()->fromJsonObject(settingsJsonObject);
} }
else if (featureSettingsKey == "SatelliteTrackerSettings") else if (featureSettingsKey == "SatelliteTrackerSettings")