mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 20:30:33 +02:00
LCL: do not use cached FPopupMenu pointer but property getter. issue #23336
git-svn-id: trunk@39887 -
This commit is contained in:
parent
ced57c7fc5
commit
906b5868a0
@ -5627,7 +5627,7 @@ function TWinControl.DoKeyDownBeforeInterface(var Message: TLMKey; IsRecurseCall
|
|||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
// check popup menu
|
// check popup menu
|
||||||
if Assigned(FPopupMenu) and FPopupMenu.IsShortCut(Message) then
|
if Assigned(PopupMenu) and PopupMenu.IsShortCut(Message) then
|
||||||
Exit(True);
|
Exit(True);
|
||||||
|
|
||||||
if IsRecurseCall then
|
if IsRecurseCall then
|
||||||
|
Loading…
Reference in New Issue
Block a user