diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-23 09:00:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-23 12:03:22 +0100 |
commit | 262377d1b45e46a426b705edb5b513f069f06d33 (patch) | |
tree | 7309f19614c9de5bdf3768bb216dbff8078a1aba /vcl/unx | |
parent | e0d6fe0b55c91fd45531438dfc8a5ee28a99de94 (diff) |
check EnableLocalizedDecimalSep
Change-Id: I77b6b28ddf50b6fc363f09bf4f7226d39504a571
Reviewed-on: https://gerrit.libreoffice.org/63865
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |