1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 03:09:14 -05:00

Merge pull request #950 from srcejon/pertester_webapi_call_init

Call init for PerTesterSettings as it contains a list of strings
This commit is contained in:
Edouard Griffiths 2021-07-03 09:34:54 +02:00 committed by GitHub
commit 53b85aed75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")