mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:59:12 +02:00
cocoa: populating the result of the overriden performKeyEquivalent in menu key handler. bug #39086. Patch by Henner Drewes
git-svn-id: trunk@65350 -
This commit is contained in:
parent
63997559b2
commit
210f33e2b0
@ -290,7 +290,7 @@ begin
|
|||||||
OldKeyEq:=isKeyEq;
|
OldKeyEq:=isKeyEq;
|
||||||
isKeyEq := true;
|
isKeyEq := true;
|
||||||
try
|
try
|
||||||
inherited performKeyEquivalent(theEvent);
|
Result := inherited performKeyEquivalent(theEvent);
|
||||||
finally
|
finally
|
||||||
isKeyEq := OldKeyEq;
|
isKeyEq := OldKeyEq;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user