Skip to content

Commit

Permalink
fix: btl icon sometimes not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Aug 2, 2024
1 parent c165574 commit 206f8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btl/ui/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def on_workbench_activated(workbench):
mw = FreeCADGui.getMainWindow()
toolbar = mw.findChild(QtGui.QToolBar, tb_name)
if toolbar:
return
toolbar.parent = None
toolbar = QtGui.QToolBar(mw)
toolbar.setObjectName(tb_name)
mw.addToolBar(toolbar)
Expand Down

0 comments on commit 206f8bd

Please sign in to comment.