mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 19:38:09 +02:00
IDE: less hints
git-svn-id: trunk@52294 -
This commit is contained in:
parent
b16d3fe006
commit
8179e96878
@ -8811,7 +8811,7 @@ procedure TMainIDE.OnDesignerPersistentDeleted(Sender: TObject; APersistent: TPe
|
||||
// important: APersistent was freed, do not access its content, only the pointer
|
||||
begin
|
||||
if dfDestroyingForm in TDesigner(Sender).Flags then exit;
|
||||
//if APersistent=nil then ;
|
||||
if APersistent=nil then ;
|
||||
if ObjectInspector1<>nil then
|
||||
ObjectInspector1.FillComponentList;
|
||||
end;
|
||||
@ -12619,6 +12619,7 @@ end;
|
||||
procedure TMainIDE.OnPropHookModified(Sender: TObject; PropName: ShortString);
|
||||
begin
|
||||
// ToDo: Should designer be marked as modified with PropName?
|
||||
if PropName='' then ;
|
||||
if Assigned(ObjectInspector1) then
|
||||
// Any change of property can cause a change of a display name
|
||||
ObjectInspector1.ComponentTree.UpdateComponentNodesValues;
|
||||
|
Loading…
Reference in New Issue
Block a user