mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 11:31:51 -05:00
Set a warning color when BandChanges is 8 or higher.
This commit is contained in:
parent
675a768de1
commit
a9e29327b7
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user