Skip to content

Commit

Permalink
[Report View] fix inconsistencies
Browse files Browse the repository at this point in the history
Make default values consistent for whether to show report view on log and normal messages.  Default values should be warnings: true, errors: true, normals: false, logs: false.
  • Loading branch information
mwganson authored and wwmayer committed Aug 24, 2020
1 parent 227e888 commit c714dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gui/ReportView.cpp
Expand Up @@ -632,13 +632,13 @@ void ReportOutput::onToggleShowReportViewOnError()

void ReportOutput::onToggleShowReportViewOnNormalMessage()
{
bool show = getWindowParameter()->GetBool("checkShowReportViewOnNormalMessage", true);
bool show = getWindowParameter()->GetBool("checkShowReportViewOnNormalMessage", false);
getWindowParameter()->SetBool("checkShowReportViewOnNormalMessage", !show);
}

void ReportOutput::onToggleShowReportViewOnLogMessage()
{
bool show = getWindowParameter()->GetBool("checkShowReportViewOnLogMessage", true);
bool show = getWindowParameter()->GetBool("checkShowReportViewOnLogMessage", false);
getWindowParameter()->SetBool("checkShowReportViewOnLogMessage", !show);
}

Expand Down

0 comments on commit c714dd0

Please sign in to comment.