fix(gui): forward optional visibility arg in Workbench.appendToolbar() #182

Merged
forbes merged 1 commits from fix/appendToolbar-visibility into main 2026-02-13 01:57:49 +00:00

1 Commits

Author SHA1 Message Date
ab71902a4c fix(gui): forward optional visibility arg in Workbench.appendToolbar()
All checks were successful
Build and Test / build (pull_request) Successful in 36m44s
The Python wrapper in FreeCADGuiInit.py only accepted (name, cmds) and
did not forward the optional visibility parameter to the underlying C++
PythonWorkbench::appendToolbar which accepts 'sO|s'. This caused a
'takes 3 positional arguments but 4 were given' error when workbenches
passed a visibility string like 'Unavailable'.
2026-02-12 13:40:37 -06:00