diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-04-29 11:04:08 +0300 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2018-04-29 22:32:01 +0200 |
commit | 09fa7200d41403e8687dc639dfe74299da808d2b (patch) | |
tree | 073bc8035826a8f9e8dc07045bb0276a1c99ff75 | |
parent | 1e05b2d030a97b0e7c86433bec26032b8b5d16ee (diff) |
tdf#117311 Ctrl/Shift+Insert do not work in Writer comments
Change-Id: Ide4f3c57f67107995a90dff965a53324c052f715
Reviewed-on: https://gerrit.libreoffice.org/53619
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit 4f0598ebe9b65c8cdfcb59645d552e3e4d11fe03)
Reviewed-on: https://gerrit.libreoffice.org/53621
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | sw/source/uibase/docvw/SidebarTxtControl.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/uibase/docvw/SidebarTxtControl.cxx b/sw/source/uibase/docvw/SidebarTxtControl.cxx index e8540298706e..a101120a85cb 100644 --- a/sw/source/uibase/docvw/SidebarTxtControl.cxx +++ b/sw/source/uibase/docvw/SidebarTxtControl.cxx @@ -242,12 +242,9 @@ void SidebarTextControl::KeyInput( const KeyEvent& rKeyEvt ) { mrSidebarWin.SwitchToFieldPos(); } - else if ( nKey == KEY_INSERT ) + else if ( rKeyCode.GetFullCode() == KEY_INSERT ) { - if ( !rKeyCode.IsMod1() && !rKeyCode.IsMod2() ) - { - mrSidebarWin.ToggleInsMode(); - } + mrSidebarWin.ToggleInsMode(); } else { |