Skip to content

Commit d89125c

Browse files
committed
Fix double call to receiver::set_rf_freq, may fix #1129
1 parent 154bbe6 commit d89125c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/applications/gqrx/mainwindow.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,6 @@ bool MainWindow::loadConfig(const QString& cfgfile, bool check_crash,
673673
}
674674

675675
ui->freqCtrl->setFrequency(int64_val);
676-
setNewFrequency(ui->freqCtrl->getFrequency()); // ensure all GUI and RF is updated
677676
}
678677

679678
{
@@ -2266,7 +2265,7 @@ void MainWindow::setRdsDecoder(bool checked)
22662265

22672266
void MainWindow::onBookmarkActivated(qint64 freq, const QString& demod, int bandwidth)
22682267
{
2269-
setNewFrequency(freq);
2268+
ui->freqCtrl->setFrequency(freq);
22702269
selectDemod(demod);
22712270

22722271
/* Check if filter is symmetric or not by checking the presets */

0 commit comments

Comments
 (0)