mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-05 07:24:38 -04:00
Set a warning color when BandChanges is 8 or higher.
This commit is contained in:
@@ -116,5 +116,10 @@ void ActiveStations::setScore(int n)
|
||||
|
||||
void ActiveStations::setBandChanges(int n)
|
||||
{
|
||||
if(n >= 8) {
|
||||
ui->bandChanges->setStyleSheet("QLineEdit{background: rgb(255, 64, 64)}");
|
||||
} else {
|
||||
ui->bandChanges->setStyleSheet ("");
|
||||
}
|
||||
ui->bandChanges->setText(QString::number(n));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user