mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:39:42 +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
|
||||
Result := False;
|
||||
// check popup menu
|
||||
if Assigned(FPopupMenu) and FPopupMenu.IsShortCut(Message) then
|
||||
if Assigned(PopupMenu) and PopupMenu.IsShortCut(Message) then
|
||||
Exit(True);
|
||||
|
||||
if IsRecurseCall then
|
||||
|
Loading…
Reference in New Issue
Block a user