Skip to content

Commit

Permalink
gui: sync command button status
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Apr 7, 2020
1 parent 68d3178 commit 06f8edd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freecad/asm3/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def onTimer(self):
hasSelection = FreeCADGui.Selection.hasSelection()
for cmd in self.cmds:
cmd.onSelectionChange(hasSelection)
FreeCADGui.updateCommands()

def addSelection(self,docname,objname,subname,_pos):
self.onChange()
Expand Down

0 comments on commit 06f8edd

Please sign in to comment.