From 64b2d85f4470660567e3704523f9709bfc07f3e7 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 19 Oct 2018 17:45:53 -0400 Subject: [PATCH] Disble Ctrl+A. ESC now stops Tx, aborts QSO, and clears the nextCall queue. --- mainwindow.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 23c7c8e80..b9f7b4f40 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1811,9 +1811,6 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } } break; - case Qt::Key_Escape: - on_stopTxButton_clicked(); - return; case Qt::Key_F1: on_actionOnline_User_Guide_triggered(); return; @@ -1867,11 +1864,13 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } } return; - case Qt::Key_A: - if(e->modifiers() & Qt::ControlModifier) { - abortQSO(); - return; - } + case Qt::Key_Escape: + m_nextCall=""; + ui->labNextCall->setStyleSheet(""); + ui->labNextCall->setText(""); + on_stopTxButton_clicked(); + abortQSO(); + return; case Qt::Key_X: if(e->modifiers() & Qt::AltModifier) { foxTest();