Menu designer: deleting a menu item in designer, refreshing object inspector

git-svn-id: trunk@53832 -
This commit is contained in:
michl 2017-01-01 20:41:40 +00:00
parent da10ad0af2
commit 3b823338c4

View File

@ -922,9 +922,9 @@ begin
anExistingSI.Parent:=nil;
box.RemoveComponent(anExistingSI);
FreeAndNil(anExistingSI);
FEditorDesigner.PropertyEditorHook.PersistentDeleting(TPersistent(mi));
FEditorDesigner.PropertyEditorHook.DeletePersistent(TPersistent(mi));
FEditorDesigner.PropertyEditorHook.Modified(mi);
FreeAndNil(mi);
FEditorDesigner.PropertyEditorHook.PersistentDeleted;
FEditorDesigner.Modified;
if (box.ShadowCount = 0) then