[Libreoffice-commits] core.git: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 23 11:03:49 UTC 2018
vcl/unx/gtk3/gtk3gtkinst.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 262377d1b45e46a426b705edb5b513f069f06d33
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Nov 23 09:00:56 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Nov 23 12:03:22 2018 +0100
check EnableLocalizedDecimalSep
Change-Id: I77b6b28ddf50b6fc363f09bf4f7226d39504a571
Reviewed-on: https://gerrit.libreoffice.org/63865
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index c5b3d3e32489..c35088723a29 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1208,7 +1208,7 @@ private:
static gboolean signalKeyPress(GtkWidget*, GdkEventKey* pEvent, gpointer)
{
// #i1820# use locale specific decimal separator
- if (pEvent->keyval == GDK_KEY_KP_Decimal)
+ if (pEvent->keyval == GDK_KEY_KP_Decimal && Application::GetSettings().GetMiscSettings().GetEnableLocalizedDecimalSep())
{
OUString aSep(Application::GetSettings().GetLocaleDataWrapper().getNumDecimalSep());
pEvent->keyval = aSep[0];
More information about the Libreoffice-commits
mailing list