From ba94502a0cbbb33e21f8ae826c1af0aeb4ec05c8 Mon Sep 17 00:00:00 2001 From: jffmichi <> Date: Fri, 6 Oct 2023 05:53:19 +0200 Subject: [PATCH] Path: fix LeadInOutDressup task panel showing wrong values on certain locales --- src/Mod/Path/PathPythonGui/simple_edit_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathPythonGui/simple_edit_panel.py b/src/Mod/Path/PathPythonGui/simple_edit_panel.py index 0de9345bf3..b9a726851f 100644 --- a/src/Mod/Path/PathPythonGui/simple_edit_panel.py +++ b/src/Mod/Path/PathPythonGui/simple_edit_panel.py @@ -77,7 +77,7 @@ class SimpleEditPanel: elif prop_type in PROP_TYPE_NUMERIC and widget_type == "QDoubleSpinBox": self._fc[prop_name] = widget.value, widget.setValue elif prop_type in PROP_TYPE_QTYES and widget_type == "QLineEdit": - self._fc[prop_name] = widget.text, lambda v: widget.setText(str(v)) + self._fc[prop_name] = widget.text, lambda v: widget.setText(v.UserString) else: raise ValueError( f"Unsupported connection between '{prop_type}' property and '{widget_type}' widget"