mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:40:29 +02:00
IDE: fixed crash in menu editor, issue #22699
git-svn-id: trunk@38606 -
This commit is contained in:
parent
cbaf2f7cd6
commit
451424cf20
@ -1434,6 +1434,7 @@ var
|
||||
InvalidateNeeded: Boolean;
|
||||
DesignerMenuItem: TDesignerMenuItem;
|
||||
begin
|
||||
if not (Sender is TPropertyEditor) then Exit;
|
||||
for i := 0 to TPropertyEditor(Sender).PropCount - 1 do
|
||||
begin
|
||||
Instance := TPropertyEditor(Sender).GetComponent(i);
|
||||
|
Loading…
Reference in New Issue
Block a user