mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
The error box is now drawn in red to draw attention to it
This commit is contained in:
@@ -406,6 +406,7 @@ class BIM_PT_tabs(Panel):
|
|||||||
|
|
||||||
if blenderbim.last_error:
|
if blenderbim.last_error:
|
||||||
box = self.layout.box()
|
box = self.layout.box()
|
||||||
|
box.alert=True
|
||||||
row = box.row(align=True)
|
row = box.row(align=True)
|
||||||
row.label(text="BlenderBIM experienced an error :(", icon="ERROR")
|
row.label(text="BlenderBIM experienced an error :(", icon="ERROR")
|
||||||
row.operator("bim.close_error", text="", icon="CANCEL")
|
row.operator("bim.close_error", text="", icon="CANCEL")
|
||||||
|
|||||||
Reference in New Issue
Block a user