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 1bf0922 commit ebe4d51Copy full SHA for ebe4d51
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 isinstance(self.params, fci.ParametersReplacement):
+ if fci.FreeCAD is not None:
29
raise RuntimeError("ToolbarAdapter can only be used when run from within FreeCAD")
30
31
def get_toolbars(self):
0 commit comments