mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-01 14:07:42 +01:00
Menu designer: deleting a menu item in designer, refreshing object inspector
git-svn-id: trunk@53832 -
This commit is contained in:
parent
da10ad0af2
commit
3b823338c4
@ -922,9 +922,9 @@ begin
|
|||||||
anExistingSI.Parent:=nil;
|
anExistingSI.Parent:=nil;
|
||||||
box.RemoveComponent(anExistingSI);
|
box.RemoveComponent(anExistingSI);
|
||||||
FreeAndNil(anExistingSI);
|
FreeAndNil(anExistingSI);
|
||||||
FEditorDesigner.PropertyEditorHook.PersistentDeleting(TPersistent(mi));
|
FEditorDesigner.PropertyEditorHook.DeletePersistent(TPersistent(mi));
|
||||||
|
FEditorDesigner.PropertyEditorHook.Modified(mi);
|
||||||
FreeAndNil(mi);
|
FreeAndNil(mi);
|
||||||
FEditorDesigner.PropertyEditorHook.PersistentDeleted;
|
|
||||||
FEditorDesigner.Modified;
|
FEditorDesigner.Modified;
|
||||||
|
|
||||||
if (box.ShadowCount = 0) then
|
if (box.ShadowCount = 0) then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user