From e9d8a5da37bbbf06ebc80043647903d5ecabfcf9 Mon Sep 17 00:00:00 2001 From: Uwe Date: Fri, 25 Mar 2022 22:09:43 +0100 Subject: [PATCH] [Gui] fix locale issue with InputField fixes the issue first reported here: https://github.com/FreeCAD/FreeCAD/pull/6364#issuecomment-1072886169 Now, since PR #6364 was merged, we must no longer remove the group separator. (The issue broke for example the FEM results: https://forum.freecadweb.org/viewtopic.php?p=582524#p582524.) --- src/Gui/InputField.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Gui/InputField.cpp b/src/Gui/InputField.cpp index d03a521d4d..62c65832df 100644 --- a/src/Gui/InputField.cpp +++ b/src/Gui/InputField.cpp @@ -710,7 +710,6 @@ void InputField::wheelEvent (QWheelEvent * event) void InputField::fixup(QString& input) const { - input.remove(locale().groupSeparator()); if (locale().negativeSign() != QLatin1Char('-')) input.replace(locale().negativeSign(), QLatin1Char('-')); if (locale().positiveSign() != QLatin1Char('+'))