1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

Test source: fixed reverse API address update from REST API

This commit is contained in:
f4exb 2019-01-10 15:45:03 +01:00
parent 0b93512771
commit 68e109193f

View File

@ -556,7 +556,7 @@ int TestSourceInput::webapiSettingsPutPatch(
settings.m_useReverseAPI = response.getTestSourceSettings()->getUseReverseApi() != 0;
}
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
settings.m_reverseAPIAddress = *response.getTestSourceSettings()->getReverseApiAddress() != 0;
settings.m_reverseAPIAddress = *response.getTestSourceSettings()->getReverseApiAddress();
}
if (deviceSettingsKeys.contains("reverseAPIPort")) {
settings.m_reverseAPIPort = response.getTestSourceSettings()->getReverseApiPort();