From 033e0608951157efce0d995c54f68cca1e414736 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 11 Jul 2017 19:02:46 +0000 Subject: [PATCH] Shift+F11/F12 should not move Rx Freq. Fixed. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7850 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 86ee4ca3d..7782d61f9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1710,20 +1710,22 @@ void MainWindow::keyPressEvent (QKeyEvent * e) case Qt::Key_F11: n=11; if(e->modifiers() & Qt::ControlModifier) n+=100; - bumpFqso(n); if(e->modifiers() & Qt::ShiftModifier) { int f=ui->TxFreqSpinBox->value()/50; if((ui->TxFreqSpinBox->value() % 50) == 0) f=f-1; ui->TxFreqSpinBox->setValue(50*f); + } else{ + bumpFqso(n); } return; case Qt::Key_F12: n=12; if(e->modifiers() & Qt::ControlModifier) n+=100; - bumpFqso(n); if(e->modifiers() & Qt::ShiftModifier) { int f=ui->TxFreqSpinBox->value()/50; ui->TxFreqSpinBox->setValue(50*(f+1)); + } else { + bumpFqso(n); } return; case Qt::Key_E: