diff --git a/plugins/channeltx/localsource/localsource.cpp b/plugins/channeltx/localsource/localsource.cpp index 36809d866..0ae044b65 100644 --- a/plugins/channeltx/localsource/localsource.cpp +++ b/plugins/channeltx/localsource/localsource.cpp @@ -413,8 +413,8 @@ int LocalSource::webapiSettingsGet( QString& errorMessage) { (void) errorMessage; - response.setLocalSinkSettings(new SWGSDRangel::SWGLocalSinkSettings()); - response.getLocalSinkSettings()->init(); + response.setLocalSourceSettings(new SWGSDRangel::SWGLocalSourceSettings()); + response.getLocalSourceSettings()->init(); webapiFormatChannelSettings(response, m_settings); return 200; }