From 0afc5e5af5aed82166616de7a4e1e5249d98e279 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 27 Mar 2022 11:35:46 +0200 Subject: [PATCH] Gui: [skip ci] fix locale issue for InputField on Windows --- src/Gui/InputField.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Gui/InputField.cpp b/src/Gui/InputField.cpp index d03a521d4d..a8806713cb 100644 --- a/src/Gui/InputField.cpp +++ b/src/Gui/InputField.cpp @@ -95,6 +95,9 @@ InputField::InputField(QWidget * parent) QObject::connect(this, SIGNAL(textChanged(QString)), this, SLOT(newInput(QString))); +#if FC_OS_WIN32 + setLocale(QLocale()); +#endif } InputField::~InputField()