Skip to content

Commit

Permalink
Path: Fix timing of updatePanelVisibility() call
Browse files Browse the repository at this point in the history
Targeted function call needed to be after `updateBase()` call after the `for` loop.
  • Loading branch information
Russ4262 committed Jun 19, 2020
1 parent f323e63 commit 40faed1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Mod/Path/PathScripts/PathOpGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,8 @@ def deleteBase(self):
for item in selected:
self.form.baseList.takeItem(self.form.baseList.row(item))
self.setDirty()
self.updatePanelVisibility('Operation', self.obj)
self.updateBase()
# self.obj.Proxy.execute(self.obj)
# FreeCAD.ActiveDocument.recompute()
self.updatePanelVisibility('Operation', self.obj)

def updateBase(self):
newlist = []
Expand Down

0 comments on commit 40faed1

Please sign in to comment.