mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-15 07:55:26 -04:00
SoapySDR support: fixed update settings processing in GUIs
This commit is contained in:
@@ -168,7 +168,17 @@ bool SoapySDROutputGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool SoapySDROutputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (SoapySDROutput::MsgStartStop::match(message))
|
||||
if (SoapySDROutput::MsgConfigureSoapySDROutput::match(message))
|
||||
{
|
||||
const SoapySDROutput::MsgConfigureSoapySDROutput& cfg = (SoapySDROutput::MsgConfigureSoapySDROutput&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
else if (SoapySDROutput::MsgStartStop::match(message))
|
||||
{
|
||||
SoapySDROutput::MsgStartStop& notif = (SoapySDROutput::MsgStartStop&) message;
|
||||
blockApplySettings(true);
|
||||
|
||||
Reference in New Issue
Block a user