Set a warning color when BandChanges is 8 or higher.

This commit is contained in:
Joe Taylor 2022-03-28 17:45:03 -04:00
parent 675a768de1
commit a9e29327b7

View File

@ -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));
}