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 d89125c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/applications/gqrx/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

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

0 comments on commit d89125c

Please sign in to comment.