mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Make the label red, not the whole button.
This commit is contained in:
parent
2b42650a73
commit
2633f6fb6d
@ -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 ("");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user