gui: sync command button status
This commit is contained in:
parent
68d31787ce
commit
06f8edd493
|
@ -103,6 +103,7 @@ class SelectionObserver:
|
|||
hasSelection = FreeCADGui.Selection.hasSelection()
|
||||
for cmd in self.cmds:
|
||||
cmd.onSelectionChange(hasSelection)
|
||||
FreeCADGui.updateCommands()
|
||||
|
||||
def addSelection(self,docname,objname,subname,_pos):
|
||||
self.onChange()
|
||||
|
|
Loading…
Reference in New Issue
Block a user