mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:39:34 +02:00
IDE: Bug fix: Deleting newly added CoolBar leads to error, issue #34302
git-svn-id: trunk@59089 -
This commit is contained in:
parent
b78d982809
commit
71029bd79e
@ -446,7 +446,6 @@ begin
|
||||
I := FTempCoolBar.FindByToolBar((CoolBar.Bands.Items[ToDelete].Control as TToolBar));
|
||||
if I <> -1 then
|
||||
FTempCoolBar.ToolBars.Delete(I);
|
||||
CoolBar.Bands.Delete(ToDelete);
|
||||
end;
|
||||
end;
|
||||
EnableDisableToolbarButtons;
|
||||
|
Loading…
Reference in New Issue
Block a user