From 026b9a39168de2363bc6b52e159ac6408cd59f7d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 7 Nov 2016 13:47:09 +0000 Subject: [PATCH] Correct a flaw in behavior of "Lock Tx=Rx" (Tnx to VK4EME). CR in DXCall entry ==> do "Lookup" (Tnx to W9MDB). git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7297 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 10 +++++----- mainwindow.h | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 2dabc4594..04cb07434 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3855,6 +3855,11 @@ void MainWindow::on_dxCallEntry_textChanged (QString const& call) statusUpdate (); } +void MainWindow::on_dxCallEntry_returnPressed () +{ + on_lookupButton_clicked(); +} + void MainWindow::on_dxGridEntry_textChanged (QString const& grid) { if (ui->dxGridEntry->hasAcceptableInput ()) { @@ -4179,7 +4184,6 @@ void MainWindow::on_actionQRA64_triggered() m_wideGraph->setModeTx(m_modeTx); ui->sbSubmode->setMaximum(4); ui->sbSubmode->setValue(m_nSubMode); - ui->cbTxLock->setEnabled(true); ui->actionInclude_averaging->setEnabled(false); ui->actionInclude_correlation->setEnabled(false); } @@ -5178,10 +5182,6 @@ void MainWindow::transmitDisplay (bool transmitting) // ui->TxFreqSpinBox->setEnabled (false); ui->TxFreqSpinBox->setEnabled (true); //### - if(m_mode!="QRA64") { - ui->cbTxLock->setChecked(false); -// ui->cbTxLock->setEnabled(false); - } } else { ui->TxFreqSpinBox->setEnabled (QSY_allowed and !m_bFastMode); ui->pbR2T->setEnabled (QSY_allowed); diff --git a/mainwindow.h b/mainwindow.h index 44318e3de..5f1a72a9a 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -159,6 +159,7 @@ private slots: void on_addButton_clicked(); void on_dxCallEntry_textChanged (QString const&); void on_dxGridEntry_textChanged (QString const&); + void on_dxCallEntry_returnPressed (); void on_genStdMsgsPushButton_clicked(); void on_logQSOButton_clicked(); void on_actionJT9_triggered();