diff --git a/src/Gui/DlgReportView.ui b/src/Gui/DlgReportView.ui
index eb20d4634..7c1054bf0 100644
--- a/src/Gui/DlgReportView.ui
+++ b/src/Gui/DlgReportView.ui
@@ -20,7 +20,16 @@
Output
-
+
+ 11
+
+
+ 11
+
+
+ 11
+
+
11
-
@@ -77,7 +86,16 @@
Colors
-
+
+ 9
+
+
+ 9
+
+
+ 9
+
+
9
@@ -101,7 +119,16 @@
-
-
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
0
@@ -147,7 +174,7 @@
-
+
0
0
@@ -202,7 +229,7 @@
-
+
0
0
@@ -257,7 +284,7 @@
-
+
255
170
@@ -312,7 +339,7 @@
-
+
255
0
@@ -343,6 +370,9 @@
Redirect internal Python output to report view
+
+ true
+
RedirectPythonOutput
@@ -356,6 +386,9 @@
Redirect internal Python errors to report view
+
+ true
+
RedirectPythonErrors
diff --git a/src/Gui/Macro.cpp b/src/Gui/Macro.cpp
index 4489607a4..3d16c99b2 100644
--- a/src/Gui/Macro.cpp
+++ b/src/Gui/Macro.cpp
@@ -231,8 +231,8 @@ void MacroManager::run(MacroType eType,const char *sName)
try {
ParameterGrp::handle hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("OutputWindow");
- PyObject* pyout = hGrp->GetBool("RedirectPythonOutput") ? new OutputStdout : 0;
- PyObject* pyerr = hGrp->GetBool("RedirectPythonErrors") ? new OutputStderr : 0;
+ PyObject* pyout = hGrp->GetBool("RedirectPythonOutput",true) ? new OutputStdout : 0;
+ PyObject* pyerr = hGrp->GetBool("RedirectPythonErrors",true) ? new OutputStderr : 0;
PythonRedirector std_out("stdout",pyout);
PythonRedirector std_err("stderr",pyerr);
//The given path name is expected to be Utf-8