From d8f42ec96561bf2d6b1044040135280804860115 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Mon, 9 Sep 2024 15:38:48 +0200 Subject: [PATCH] Allow the SuperFox to be called only by double-clicking so that it must be received first. --- widgets/mainwindow.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 1c53dd5d9..4b9250938 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -6907,6 +6907,10 @@ void MainWindow::msgtype(QString t, QLineEdit* tx) //msgtype() void MainWindow::on_tx1_editingFinished() //tx1 edited { + if (SpecOp::HOUND==m_specOp && m_config.superFox() && !m_bDoubleClicked) { + clearDX(); + return; + } QString t=ui->tx1->text(); msgtype(t, ui->tx1); } @@ -6977,6 +6981,10 @@ void MainWindow::mousePressEvent(QMouseEvent *event) void MainWindow::on_dxCallEntry_textChanged (QString const& call) { + if (SpecOp::HOUND==m_specOp && m_config.superFox() && !m_bDoubleClicked) { + clearDX(); + return; + } set_dateTimeQSO (-1); // reset the QSO start time when DXCall changes m_hisCall = call; ui->dxGridEntry->clear(); @@ -7422,6 +7430,7 @@ void MainWindow::on_actionFT8_triggered() QTimer::singleShot (50, [=] { if(m_specOp!=SpecOp::FOX) ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt()); if(m_specOp==SpecOp::FOX && !m_config.superFox()) ui->TxFreqSpinBox->setValue(m_TxFreqFox); + if(SpecOp::HOUND == m_specOp && m_config.superFox()) clearDX(); if(SpecOp::HOUND == m_specOp && m_config.superFox() && (ui->RxFreqSpinBox->value() < 700 or ui->RxFreqSpinBox->value() > 800)) { ui->RxFreqSpinBox->setValue(750);