From 06d65c73a38466e1103c39606ffe7761e08aca61 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 16 Jun 2022 09:03:24 +0200 Subject: [PATCH] [BUGFIX] Gui: correctly restore message type enabling in report view --- src/Gui/ReportView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Gui/ReportView.cpp b/src/Gui/ReportView.cpp index 1fba55c188c7..0c56c300e9fb 100644 --- a/src/Gui/ReportView.cpp +++ b/src/Gui/ReportView.cpp @@ -757,6 +757,9 @@ void ReportOutput::OnChange(Base::Subject &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) );