Skip to content

Commit

Permalink
[BUGFIX] Gui: correctly restore message type enabling in report view
Browse files Browse the repository at this point in the history
  • Loading branch information
0penBrain authored and wwmayer committed Jul 5, 2022
1 parent 3fe4e4b commit 06d65c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gui/ReportView.cpp
Expand Up @@ -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) );
Expand Down

0 comments on commit 06d65c7

Please sign in to comment.