mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 15:50:25 +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
|
AMenuItem := Items[CurIndex] as TBuildModeMenuItem
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
AMenuItem := TBuildModeMenuItem.Create(DropdownMenu);
|
AMenuItem := TBuildModeMenuItem.Create(Self);
|
||||||
AMenuItem.Name := Name + 'Mode' + IntToStr(CurIndex);
|
AMenuItem.Name := Name + 'Mode' + IntToStr(CurIndex);
|
||||||
Items.Add(AMenuItem);
|
Items.Add(AMenuItem);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user