IDE: Bug fix: Deleting newly added CoolBar leads to error, issue #34302

git-svn-id: trunk@59089 -
This commit is contained in:
balazs 2018-09-20 05:25:30 +00:00
parent b78d982809
commit 71029bd79e

View File

@ -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;