summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-04-15 22:28:32 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2018-04-17 11:53:19 +0200
commita860c94f0da22065074cc36e8ddda73261641533 (patch)
treec8a7d2df64cef1ccc3fdc843022ff42a420f5f73
parent3732d5ab1782bbadfee457115fbd8dce78453cc2 (diff)
tdf#117017 Make modifier keys not trigger the InputChanged handler
Change-Id: Ib05883688ef4143c0b53871c4336920dde6f91cc Reviewed-on: https://gerrit.libreoffice.org/52924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
-rw-r--r--sc/source/ui/app/inputwin.cxx4
1 files changed, 4 insertions, 0 deletions
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() );
}