We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0454782 commit 57c8cbaCopy full SHA for 57c8cba
addonmanager_toolbar_adapter.py
@@ -25,7 +25,7 @@ class ToolbarAdapter:
25
def __init__(self):
26
if self.params is None:
27
self.params = fci.ParamGet("User parameter:BaseApp/Workbench/Global/Toolbar")
28
- if fci.FreeCAD is not None:
+ if fci.FreeCAD is None:
29
raise RuntimeError("ToolbarAdapter can only be used when run from within FreeCAD")
30
31
def get_toolbars(self):
0 commit comments