mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 09:19:40 +02:00
Qt: do not propagate keyrelease event as action trigger. issue #22737
git-svn-id: trunk@38520 -
This commit is contained in:
parent
eb63241bf4
commit
a3eea5f52e
@ -2902,6 +2902,7 @@ begin
|
||||
if (Modifiers = QtAltModifier) then
|
||||
begin
|
||||
if (QApplication_activeModalWidget() = nil) and
|
||||
(QEvent_type(Event) <> QEventKeyRelease) and
|
||||
QtWidgetSet.ShortcutInGlobalActions('Alt+'+Text, GlobalAction) then
|
||||
begin
|
||||
QtWidgetSet.TriggerGlobalAction(GlobalAction);
|
||||
|
Loading…
Reference in New Issue
Block a user