Skip to content

Commit

Permalink
Fix double call to receiver::set_rf_freq, may fix #1129
Browse files Browse the repository at this point in the history
  • Loading branch information
0penBrain committed Oct 8, 2023
1 parent 154bbe6 commit 75a3fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/applications/gqrx/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

{
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 75a3fbf

Please sign in to comment.