From aa7b8f977ca665dedf68d9dd33af162c3869847b Mon Sep 17 00:00:00 2001 From: tarman3 Date: Thu, 25 Sep 2025 11:37:39 +0300 Subject: [PATCH] CAM: LeadInOut - Fix RetractThreshold in Task panel --- src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py | 1 + src/Mod/CAM/PathPythonGui/simple_edit_panel.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py index 0c9a18f8c0..ab9997260b 100644 --- a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py +++ b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py @@ -1123,6 +1123,7 @@ class TaskDressupLeadInOut(SimpleEditPanel): self.connectWidget("OffsetIn", self.form.dspOffsetIn) self.connectWidget("OffsetOut", self.form.dspOffsetOut) self.connectWidget("RapidPlunge", self.form.chkRapidPlunge) + self.connectWidget("RetractThreshold", self.form.dspRetractThreshold) self.setFields() styleEnum = self.obj.getEnumerationsOfProperty("StyleIn") diff --git a/src/Mod/CAM/PathPythonGui/simple_edit_panel.py b/src/Mod/CAM/PathPythonGui/simple_edit_panel.py index 0c03ba86f5..fe496a7e6b 100644 --- a/src/Mod/CAM/PathPythonGui/simple_edit_panel.py +++ b/src/Mod/CAM/PathPythonGui/simple_edit_panel.py @@ -6,9 +6,10 @@ translate = FreeCAD.Qt.translate PROP_TYPE_QTYES = ["App::PropertyDistance", "App::PropertyAngle"] PROP_TYPE_NUMERIC = PROP_TYPE_QTYES + [ - "App::PropertyPercent", + "App::PropertyFloat", "App::PropertyInteger", - "App:PropertyFloat", + "App::PropertyLength", + "App::PropertyPercent", ]