[BUGFIX] Gui: correctly restore message type enabling in report view

This commit is contained in:
0penBrain
2022-06-16 09:03:24 +02:00
committed by wwmayer
parent 1f1551bb5e
commit 077114163a

View File

@@ -757,6 +757,9 @@ void ReportOutput::OnChange(Base::Subject<const char*> &rCaller, const char * sR
else if (strcmp(sReason, "checkError") == 0) {
bErr = rclGrp.GetBool( sReason, bErr );
}
else if (strcmp(sReason, "checkMessage") == 0) {
bMsg = rclGrp.GetBool( sReason, bMsg );
}
else if (strcmp(sReason, "colorText") == 0) {
unsigned long col = rclGrp.GetUnsigned( sReason );
reportHl->setTextColor( QColor( (col >> 24) & 0xff,(col >> 16) & 0xff,(col >> 8) & 0xff) );