Qt: do not propagate keyrelease event as action trigger. issue #22737

git-svn-id: trunk@38520 -
This commit is contained in:
zeljko 2012-09-05 10:22:21 +00:00
parent eb63241bf4
commit a3eea5f52e

View File

@ -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);