issue #0002724: Redirecting messages to Python console apply issue.
This commit is contained in:
parent
ff1b9dde41
commit
3cac7be520
|
@ -561,12 +561,12 @@ void ReportOutput::OnChange(Base::Subject<const char*> &rCaller, const char * sR
|
|||
setTabStopWidth(width);
|
||||
}
|
||||
else if (strcmp(sReason, "RedirectPythonOutput") == 0) {
|
||||
bool checked = rclGrp.GetBool(sReason);
|
||||
bool checked = rclGrp.GetBool(sReason, true);
|
||||
if (checked != d->redirected_stdout)
|
||||
onToggleRedirectPythonStdout();
|
||||
}
|
||||
else if (strcmp(sReason, "RedirectPythonErrors") == 0) {
|
||||
bool checked = rclGrp.GetBool(sReason);
|
||||
bool checked = rclGrp.GetBool(sReason, true);
|
||||
if (checked != d->redirected_stderr)
|
||||
onToggleRedirectPythonStderr();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user