vcl/source/window/toolbox.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 45e3abcb79fb1ccf7d813a7b080a8ad70bdcb5b1 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Thu Feb 22 22:47:10 2024 -0900 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Fri Feb 23 17:56:13 2024 +0100 tdf#159837 Make keyboard shortcuts work when focus is in toolbar for SalInstanceBuilder based VCL backends Change-Id: I36764e7199a0f7292b331da3d187fbe939b4becc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163800 Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index fc9effe58065..272263072a36 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4435,7 +4435,9 @@ void ToolBox::KeyInput( const KeyEvent& rKEvt ) // do nothing to avoid key presses going into the document // while the toolbox has the focus // just forward function and special keys and combinations with Alt-key - if( aKeyGroup == KEYGROUP_FKEYS || aKeyGroup == KEYGROUP_MISC || aKeyCode.IsMod2() ) + // and Ctrl-key + if( aKeyGroup == KEYGROUP_FKEYS || aKeyGroup == KEYGROUP_MISC || aKeyCode.IsMod2() + || aKeyCode.IsMod1() ) bForwardKey = true; } }