Tux: support for future BIM workbench

This commit is contained in:
Yorik van Havre
2018-03-02 16:22:55 -03:00
parent 7761ea4883
commit e131793a38

View File

@@ -33,7 +33,7 @@ def pythonToolbars():
active = Gui.activeWorkbench().__class__.__name__
if active == "DraftWorkbench" or active == "ArchWorkbench":
if active == "DraftWorkbench" or active == "ArchWorkbench" or active == "BIMWorkbench":
if hasattr(Gui, "draftToolBar"):
try:
Gui.draftToolBar.Activated()