From d89125ca580faddd3e142e49c07b3fd9010d4f2d 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/applications/gqrx/mainwindow.cpp b/src/applications/gqrx/mainwindow.cpp index 784564158..330a6c2a5 100644 --- a/src/applications/gqrx/mainwindow.cpp +++ b/src/applications/gqrx/mainwindow.cpp @@ -673,7 +673,6 @@ 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 } { @@ -2266,7 +2265,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 */