From 75a3fbf7746a88691e0a84a8956e8cb61f955246 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Sun, 8 Oct 2023 16:39:53 +0200 Subject: [PATCH] Fix double call to receiver::set_rf_freq, may fix #1129 --- src/applications/gqrx/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/gqrx/mainwindow.cpp b/src/applications/gqrx/mainwindow.cpp index 784564158c..ec9a9a8eec 100644 --- a/src/applications/gqrx/mainwindow.cpp +++ b/src/applications/gqrx/mainwindow.cpp @@ -673,7 +673,7 @@ bool MainWindow::loadConfig(const QString& cfgfile, bool check_crash, } ui->freqCtrl->setFrequency(int64_val); - setNewFrequency(ui->freqCtrl->getFrequency()); // ensure all GUI and RF is updated + //setNewFrequency(ui->freqCtrl->getFrequency()); // ensure all GUI and RF is updated } { @@ -2266,7 +2266,7 @@ void MainWindow::setRdsDecoder(bool checked) void MainWindow::onBookmarkActivated(qint64 freq, const QString& demod, int bandwidth) { - setNewFrequency(freq); + ui->freqCtrl->setFrequency(freq); selectDemod(demod); /* Check if filter is symmetric or not by checking the presets */