vcl/source/treelist/treelistbox.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit c47834b494f9b94fb34e0305d106cf498a3cec81 Author: Jim Raykowski <rayk...@gmail..com> AuthorDate: Mon Nov 4 18:41:04 2019 -0900 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Nov 5 07:25:50 2019 +0100 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.gran...@collabora.co.uk> 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 ) ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits