diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index fdefd8edb..a9c45e1b5 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -8698,7 +8698,8 @@ void MainWindow::chkFT4() void MainWindow::on_pbBestSP_clicked() { m_bBestSPArmed = !m_bBestSPArmed; - ui->pbBestSP->setChecked(m_bBestSPArmed); -// if(m_bBestSPArmed and !m_transmitting) ui->pbBestSP->setStyleSheet ("QPushButton{color:red}"); -// if(!m_bBestSPArmed) ui->pbBestSP->setStyleSheet (""); +// ui->pbBestSP->setChecked(m_bBestSPArmed); + qDebug() << "aa" << m_bBestSPArmed; + if(m_bBestSPArmed and !m_transmitting) ui->pbBestSP->setStyleSheet ("QPushButton{color:red}"); + if(!m_bBestSPArmed) ui->pbBestSP->setStyleSheet (""); }