Draft: Set reject method for working plane task dialog

This commit is contained in:
marioalexis
2021-02-07 14:04:35 -03:00
parent 7c00d19a28
commit 7a54edb33a

View File

@@ -91,6 +91,7 @@ class Draft_SelectPlane:
# Create task panel
FreeCADGui.Control.closeDialog()
self.taskd = task_selectplane.SelectPlaneTaskPanel()
self.taskd.reject = self.reject
# Fill values
self.taskd.form.checkCenter.setChecked(self.param.GetBool("CenterPlaneOnView", False))