mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-02 22:23:41 +02:00
IDEIntf: fixed crash on TIDEMenuSection.Clear, bug #30574
git-svn-id: trunk@52935 -
This commit is contained in:
parent
7cbaf52c25
commit
eabe435a62
@ -1072,6 +1072,7 @@ var
|
||||
SubSection: TIDEMenuSection;
|
||||
aVisible: Boolean;
|
||||
begin
|
||||
if imssClearing in aSection.FStates then exit;
|
||||
aVisible:=aSection.RealVisible;
|
||||
for i:=0 to aSection.Count-1 do begin
|
||||
Item:=aSection[i];
|
||||
|
Loading…
Reference in New Issue
Block a user