diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-06 09:20:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-06 11:39:27 +0200 |
commit | de1c3bd004b069cd1796423e796999cf0737f823 (patch) | |
tree | ce17eaaf044928a47bc8a882aa28f237271fa175 | |
parent | gbuild: work around GDB 10 bug with DWARF5 in split debug info (diff) | |
download | core-de1c3bd004b069cd1796423e796999cf0737f823.tar.gz core-de1c3bd004b069cd1796423e796999cf0737f823.zip |
allow ctrl+A to select all in calc header/footer dialog too
Change-Id: Ie3142ced5ddf80a9dd49774d26e450318f18b641
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115170
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/ui/pagedlg/tphfedit.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index c2c6ac4f16f1..932b635fe37a 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -195,24 +195,13 @@ void ScEditWindow::SetCharAttributes() bool ScEditWindow::KeyInput( const KeyEvent& rKEvt ) { - sal_uInt16 nKey = rKEvt.GetKeyCode().GetModifier() - + rKEvt.GetKeyCode().GetCode(); - - if ( nKey == KEY_TAB || nKey == KEY_TAB + KEY_SHIFT ) - { - return false; - } - else if ( !m_xEditView->PostKeyEvent( rKEvt ) ) - { - return false; - } - else if ( !rKEvt.GetKeyCode().IsMod1() && !rKEvt.GetKeyCode().IsShift() && + if ( !rKEvt.GetKeyCode().IsMod1() && !rKEvt.GetKeyCode().IsShift() && rKEvt.GetKeyCode().IsMod2() && rKEvt.GetKeyCode().GetCode() == KEY_DOWN ) { aObjectSelectLink.Call(*this); return true; } - return true; + return WeldEditView::KeyInput(rKEvt); } void ScEditWindow::GetFocus() |