From 33bca44fc1177079d7290eb7230d9520d3d08383 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 8 Dec 2017 14:40:12 +0100 Subject: [PATCH] Web API: RTLSDR GUI settings update --- plugins/samplesource/rtlsdr/rtlsdrgui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp index 24789ff21..8fc470997 100644 --- a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp +++ b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp @@ -138,6 +138,13 @@ bool RTLSDRGui::handleMessage(const Message& message) displayGains(); return true; } + else if (RTLSDRInput::MsgConfigureRTLSDR::match(message)) + { + const RTLSDRInput::MsgConfigureRTLSDR& cfg = (RTLSDRInput::MsgConfigureRTLSDR&) message; + m_settings = cfg.getSettings(); + displaySettings(); + return true; + } else { return false;