diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-04-23 03:04:07 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-04-26 22:13:21 +0200 |
commit | baddcc38dee7b286cc73c1eaeb6f78d10b911a8e (patch) | |
tree | 43f364d811736f8580e6c59c87aea3827be1d63a | |
parent | 488f70e0c5209fd092b67252fdebb784efa04673 (diff) |
sc: Fix menubar auto-accelerator behavior under gtk2
... when the focus is in the input field of the formula bar.
Regression of commit d90dcf3554a84b5600800ee6deb3cde879c62b8d
("tdf#113894 release ctrl of ctrl+v in input line should strip
formatting").
Change-Id: I819dc8106901b967eda505a488bf99cda57f5469
Reviewed-on: https://gerrit.libreoffice.org/53514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 80823aca43f4..bac9f99028a7 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1428,7 +1428,8 @@ void ScTextWnd::Command( const CommandEvent& rCEvt ) } else if ( nCommand == CommandEventId::ModKeyChange ) { - //don't call InputChanged for CommandEventId::ModKeyChange + //pass alt press/release to parent impl + Window::Command(rCEvt); } else SC_MOD()->InputChanged( mpEditView.get() ); |