vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3b42112a3b1821b369c68277ba9284d6c4a162b
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Nov 23 09:00:56 2018 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Nov 23 12:30:29 2018 +0100

    check EnableLocalizedDecimalSep
    
    Change-Id: I77b6b28ddf50b6fc363f09bf4f7226d39504a571
    Reviewed-on: https://gerrit.libreoffice.org/63866
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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];
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to