Don't reset bg color of the Hound label to red for every non-verified message.

This commit is contained in:
Uwe Risse 2024-09-09 15:30:36 +02:00
parent b4d8f47bab
commit 46595d45e8

View File

@ -4374,7 +4374,9 @@ void MainWindow::readFromStdout() //readFromStdout
write_all("Vf",decodedtext0.string());
ui->labDXped->setStyleSheet("QLabel {background-color: #00ff00; color: black;}");
} else {
#ifndef FOX_OTP
if (m_specOp==SpecOp::HOUND && m_config.superFox() && (decodedtext0.mid(4,2).contains("00") or decodedtext0.mid(4,2).contains("30"))) verified = false;
#endif
}
if ((!verified && ui->labDXped->isVisible()) or !ui->labDXped->text().contains("Hound"))
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");