mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 02:38:03 +02:00
ide: fix AV for Change build mode. Issue #31139
git-svn-id: trunk@53749 -
This commit is contained in:
parent
6baee1e990
commit
925cc1d5ef
@ -322,7 +322,7 @@ var
|
||||
AMenuItem := Items[CurIndex] as TBuildModeMenuItem
|
||||
else
|
||||
begin
|
||||
AMenuItem := TBuildModeMenuItem.Create(DropdownMenu);
|
||||
AMenuItem := TBuildModeMenuItem.Create(Self);
|
||||
AMenuItem.Name := Name + 'Mode' + IntToStr(CurIndex);
|
||||
Items.Add(AMenuItem);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user