[Libreoffice-commits] core.git: sc/source

Maxim Monastirsky momonasmon at gmail.com
Tue Apr 17 09:54:10 UTC 2018


 sc/source/ui/app/inputwin.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a860c94f0da22065074cc36e8ddda73261641533
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Sun Apr 15 22:28:32 2018 +0300

    tdf#117017 Make modifier keys not trigger the InputChanged handler
    
    Change-Id: Ib05883688ef4143c0b53871c4336920dde6f91cc
    Reviewed-on: https://gerrit.libreoffice.org/52924
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index da42d3bfff18..985365e3f2fd 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1425,6 +1425,10 @@ void ScTextWnd::Command( const CommandEvent& rCEvt )
         {
             //don't call InputChanged for CommandEventId::Swipe
         }
+        else if ( nCommand == CommandEventId::ModKeyChange )
+        {
+            //don't call InputChanged for CommandEventId::ModKeyChange
+        }
         else
             SC_MOD()->InputChanged( mpEditView.get() );
     }


More information about the Libreoffice-commits mailing list