From f19572ed0eb9ec756542e1a1f5f74015815aa8d7 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 8 Oct 2017 03:47:18 +0200 Subject: [PATCH] BFM plugin: fixed channel marker save to settings --- plugins/channelrx/demodbfm/bfmdemodgui.cpp | 4 ++++ plugins/channelrx/demodbfm/bfmplugin.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/demodbfm/bfmdemodgui.cpp b/plugins/channelrx/demodbfm/bfmdemodgui.cpp index 02c86f2ff..9510d70b4 100644 --- a/plugins/channelrx/demodbfm/bfmdemodgui.cpp +++ b/plugins/channelrx/demodbfm/bfmdemodgui.cpp @@ -142,6 +142,10 @@ void BFMDemodGUI::handleInputMessages() void BFMDemodGUI::channelMarkerChanged() { this->setWindowTitle(m_channelMarker.getTitle()); + m_settings.m_inputFrequencyOffset = m_channelMarker.getCenterFrequency(); + m_settings.m_udpAddress = m_channelMarker.getUDPAddress(), + m_settings.m_udpPort = m_channelMarker.getUDPSendPort(), + m_settings.m_rgbColor = m_channelMarker.getColor().rgb(); displayUDPAddress(); applySettings(); } diff --git a/plugins/channelrx/demodbfm/bfmplugin.cpp b/plugins/channelrx/demodbfm/bfmplugin.cpp index 9aee0f780..64ee99d0b 100644 --- a/plugins/channelrx/demodbfm/bfmplugin.cpp +++ b/plugins/channelrx/demodbfm/bfmplugin.cpp @@ -24,7 +24,7 @@ const PluginDescriptor BFMPlugin::m_pluginDescriptor = { QString("Broadcast FM Demodulator"), - QString("3.7.3"), + QString("3.7.4"), QString("(c) Edouard Griffiths, F4EXB"), QString("https://github.com/f4exb/sdrangel"), true,