From 6a9ee81eecd55457a67e57e6eae4b149305e3cd4 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 6 Jul 2017 20:28:12 +0000 Subject: [PATCH] Correct the logic for hotkey CTRL+Key_Minus. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7798 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ad3b472a9..ddc613cb9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1758,7 +1758,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e) case Qt::Key_Minus: if(e->modifiers() & Qt::ControlModifier) { int f=ui->TxFreqSpinBox->value()/50; - ui->TxFreqSpinBox->setValue(50*(f-1)); + ui->TxFreqSpinBox->setValue(50*f); return; } break;