From 74ae5f98de696dc6df36f23e28d6957d0a57ed7b Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Mon, 4 Apr 2022 10:44:06 +0200 Subject: [PATCH] Prevent H button from beeing highlighted when not in Hound mode. --- widgets/mainwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index e0109dc44..a4fce9831 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -6605,6 +6605,11 @@ void MainWindow::on_actionFT8_triggered() switch_mode (Modes::FT8); } + if(m_config.special_op_id() != SpecOp::HOUND) { + ui->houndButton->setChecked(false); + ui->houndButton->setStyleSheet(""); + } + if (SpecOp::NONE < m_config.special_op_id () && SpecOp::FOX > m_config.special_op_id ()) { QString t0=""; if(SpecOp::NA_VHF==m_config.special_op_id()) t0+="NA VHF";