diff --git a/src/blenderbim/blenderbim/__init__.py b/src/blenderbim/blenderbim/__init__.py index 3a31cbdf26..de00a88d72 100644 --- a/src/blenderbim/blenderbim/__init__.py +++ b/src/blenderbim/blenderbim/__init__.py @@ -122,7 +122,7 @@ if sys.modules.get("bpy", None): def draw(self, context): layout = self.layout layout.label(text="BlenderBIM could not load.", icon="ERROR") - layout.label(text="View the console for full logs.", icon="CONSOLE") + layout.operator("wm.console_toggle", text="View the console for full logs.", icon="CONSOLE") box = layout.box() info = get_debug_info() py = ".".join(info["python_version"].split(".")[0:2]) diff --git a/src/blenderbim/blenderbim/bim/ui.py b/src/blenderbim/blenderbim/bim/ui.py index 017304a123..a2647ffbd1 100644 --- a/src/blenderbim/blenderbim/bim/ui.py +++ b/src/blenderbim/blenderbim/bim/ui.py @@ -410,7 +410,7 @@ class BIM_PT_tabs(Panel): row = box.row(align=True) row.label(text="BlenderBIM experienced an error :(", icon="ERROR") row.operator("bim.close_error", text="", icon="CANCEL") - box.label(text="View the console for full logs.", icon="CONSOLE") + box.operator("wm.console_toggle", text="View the console for full logs.", icon="CONSOLE") box.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard") op = box.operator("bim.open_uri", text="How Can I Fix This?") op.uri = "https://docs.blenderbim.org/users/troubleshooting.html"