From a829516a33ab5641aeda0d2c9c53b443d09c2afa Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Thu, 13 Sep 2018 01:51:32 -0400 Subject: [PATCH] Fixed issue with offset qsy after a message send when using jump --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index f42ce1d..4f49ac5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1256,9 +1256,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, } if(selectedOffset != -1){ - auto qsyAction = menu->addAction(QString("Jump to %1Hz").arg(selectedOffset)); + auto qsyAction = menu->addAction(QString("Jump to %1Hz...").arg(selectedOffset)); connect(qsyAction, &QAction::triggered, this, [this, selectedOffset](){ - setFreqOffsetForRestore(selectedOffset, true); + setFreqOffsetForRestore(selectedOffset, false); }); menu->addSeparator(); } @@ -1331,7 +1331,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, if(selectedOffset != -1){ auto qsyAction = menu->addAction(QString("Jump to %1Hz...").arg(selectedOffset)); connect(qsyAction, &QAction::triggered, this, [this, selectedOffset](){ - setFreqOffsetForRestore(selectedOffset, true); + setFreqOffsetForRestore(selectedOffset, false); }); menu->addSeparator(); }