diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-10-06 16:22:41 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-10-13 08:32:32 +0200 |
commit | 9e0dcfbaf0039d07609ed4e4a9ef9f1e2e1e6b55 (patch) | |
tree | fb8bdd434c7a11c0f4eea2ede3fa88dc85776fb7 /vcl/source | |
parent | af2879e434fa0dc6b2a626617ed865e4f66eb5ad (diff) |
tdf#151385 Only trigger mnemonics in dialogs when alt key is pressed
Change-Id: I884afad38c64bd53fe4917418ed627f9c0674554
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141022
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 161e4ff7863c..8db4402d9ef8 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -941,7 +941,7 @@ bool Window::ImplDlgCtrl( const KeyEvent& rKEvt, bool bKeyInput ) } } } - else + else if (aKeyCode.IsMod2()) // tdf#151385 { sal_Unicode c = rKEvt.GetCharCode(); if ( c ) |