From 6ec945204f6005df7ef416a4ec5974644c79ccf0 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 16 Oct 2018 13:08:15 -0400 Subject: [PATCH] Fix two typos. --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 593bcdf39..f5964f7a0 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1852,7 +1852,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e) on_actionOpen_next_in_directory_triggered(); return; case Qt::Key_F11: - if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ControlModifier)) { + if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ShiftModifier)) { m_bandEdited = true; band_changed(m_freqNominal-2000); // qDebug() << "Down" << m_freqNominal; @@ -1867,7 +1867,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } return; case Qt::Key_F12: - if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ControlModifier)) { + if((e->modifiers() & Qt::ControlModifier) and (e->modifiers() & Qt::ShiftModifier)) { m_bandEdited = true; band_changed(m_freqNominal+2000); // qDebug() << "Up " << m_freqNominal;