1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

SoapySDR support: fixed update settings processing in GUIs

This commit is contained in:
f4exb
2018-11-04 19:17:47 +01:00
parent 2bc59154bf
commit 45a569655a
4 changed files with 28 additions and 7 deletions
@@ -191,10 +191,19 @@ bool SoapySDRInputGui::deserialize(const QByteArray& data)
}
}
bool SoapySDRInputGui::handleMessage(const Message& message)
{
if (SoapySDRInput::MsgStartStop::match(message))
if (SoapySDRInput::MsgConfigureSoapySDRInput::match(message))
{
const SoapySDRInput::MsgConfigureSoapySDRInput& cfg = (SoapySDRInput::MsgConfigureSoapySDRInput&) message;
m_settings = cfg.getSettings();
blockApplySettings(true);
displaySettings();
blockApplySettings(false);
return true;
}
else if (SoapySDRInput::MsgStartStop::match(message))
{
SoapySDRInput::MsgStartStop& notif = (SoapySDRInput::MsgStartStop&) message;
blockApplySettings(true);