mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -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()
|
void MainWindow::on_pbBestSP_clicked()
|
||||||
{
|
{
|
||||||
m_bBestSPArmed = !m_bBestSPArmed;
|
m_bBestSPArmed = !m_bBestSPArmed;
|
||||||
ui->pbBestSP->setChecked(m_bBestSPArmed);
|
// ui->pbBestSP->setChecked(m_bBestSPArmed);
|
||||||
// if(m_bBestSPArmed and !m_transmitting) ui->pbBestSP->setStyleSheet ("QPushButton{color:red}");
|
qDebug() << "aa" << m_bBestSPArmed;
|
||||||
// if(!m_bBestSPArmed) ui->pbBestSP->setStyleSheet ("");
|
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