From fcb0d99af59e474530a8731a32e958ebfabf4644 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 23 Sep 2017 21:59:39 +0200 Subject: [PATCH] RTLSDR: update center frequency after transverter toggle --- plugins/samplesource/rtlsdr/rtlsdrgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp index 574d40b40..7979bd40d 100644 --- a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp +++ b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp @@ -337,6 +337,7 @@ void RTLSDRGui::on_transverter_toggled(bool checked) m_settings.m_transverterMode = checked; m_settings.m_transverterDeltaFrequency = checked ? ui->transverter->getDeltaFrequency() : 0; updateFrequencyLimits(); + m_settings.m_centerFrequency = ui->centerFrequency->getValueNew()*1000; sendSettings(); }