From 40faed1b7d5e53667bcb7b180c14b4c950eb6c43 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Wed, 17 Jun 2020 20:39:40 -0500 Subject: [PATCH] Path: Fix timing of `updatePanelVisibility()` call Targeted function call needed to be after `updateBase()` call after the `for` loop. --- src/Mod/Path/PathScripts/PathOpGui.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 02561a47ba..3841b1dc73 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -542,10 +542,8 @@ class TaskPanelBaseGeometryPage(TaskPanelPage): 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 = []