1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-25 05:29:16 -04:00

Fixed background color of the Super Hound label not always being reset correctly.

This commit is contained in:
Uwe Risse 2024-07-13 14:28:06 +02:00
parent ab1669b6f2
commit 12c1b4d976

View File

@ -4177,7 +4177,7 @@ void MainWindow::readFromStdout() //readFromStdout
verified = true;
ui->labDXped->setStyleSheet("QLabel {background-color: #00ff00; color: black;}");
} else {
if (decodedtext0.mid(5,2).contains("00") or decodedtext0.mid(5,2).contains("30")) verified = false;
if (decodedtext0.mid(4,2).contains("00") or decodedtext0.mid(4,2).contains("30")) verified = false;
}
if ((!verified && ui->labDXped->isVisible()) or ui->labDXped->text()!="Super Hound")
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");