1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 00:44:48 -04:00

M17 demod: updated API

This commit is contained in:
f4exb
2022-07-10 22:15:58 +02:00
parent 2efa765750
commit 823cffdae1
18 changed files with 339 additions and 238 deletions
+7 -1
View File
@@ -102,7 +102,13 @@ bool M17ModGUI::handleMessage(const Message& message)
else if (M17Mod::MsgConfigureM17Mod::match(message))
{
const M17Mod::MsgConfigureM17Mod& cfg = (M17Mod::MsgConfigureM17Mod&) message;
m_settings = cfg.getSettings();
if (cfg.getForce()) {
m_settings = cfg.getSettings();
} else {
m_settings.applySettings(cfg.getSettingsKeys(), cfg.getSettings());
}
blockApplySettings(true);
m_channelMarker.updateSettings(static_cast<const ChannelMarker*>(m_settings.m_channelMarker));
displaySettings();