summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-11-04 18:41:04 -0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-05 07:25:50 +0100
commitc47834b494f9b94fb34e0305d106cf498a3cec81 (patch)
tree9e2287854ceecc4b517b2fe515c1ba0901c0c9ef /vcl
parent523dcbd046f200785c78bc6b23f4c04e38f25f47 (diff)
tdf#109135 Don't handle Ctrl key in SvTreeListBox HandleKeyInput
This patch allows shortcut keys to work when focus is in tree list box Change-Id: Id47e004276c5f56f44c404c2d39d62dacbe234ee Reviewed-on: https://gerrit.libreoffice.org/82049 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/treelistbox.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx
index fdbf2df8b671..1c5f7c82cde7 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -1027,6 +1027,9 @@ void SvTreeListBox::SelectEntry( vcl::StringEntryIdentifier _entry )
bool SvTreeListBox::HandleKeyInput( const KeyEvent& _rKEvt )
{
+ if ( _rKEvt.GetKeyCode().IsMod1() )
+ return false;
+
if ( IsEntryMnemonicsEnabled()
&& mpImpl->m_aMnemonicEngine.HandleKeyEvent( _rKEvt )
)