From 20bed3832320099ae74ff7fe58fc034f75c21628 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 8 Apr 2019 13:18:30 -0400 Subject: [PATCH] Best S+P activates only when not transmitting. --- widgets/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index a1fccb23d..5dd5ed60e 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -8702,6 +8702,8 @@ void MainWindow::chkFT4() void MainWindow::on_pbBestSP_clicked() { - ui->pbBestSP->setStyleSheet ("QPushButton{color:red}"); - m_bBestSPArmed=true; + if(!m_transmitting) { + ui->pbBestSP->setStyleSheet ("QPushButton{color:red}"); + m_bBestSPArmed=true; + } }