mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 13:19:29 +02:00
Object Inspector: Update component tree's captions after changing property value.
git-svn-id: trunk@52244 -
This commit is contained in:
parent
3a9c90d806
commit
7047f40793
@ -12610,10 +12610,10 @@ end;
|
||||
|
||||
procedure TMainIDE.OnPropHookModified(Sender: TObject; PropName: ShortString);
|
||||
begin
|
||||
// ToDo: Mark designer as modified with PropName.
|
||||
if (PropName='') and Assigned(ObjectInspector1) then
|
||||
// any change of property can cause a change of a display name
|
||||
ObjectInspector1.FillComponentList;
|
||||
// ToDo: Should designer be marked as modified with PropName?
|
||||
if Assigned(ObjectInspector1) then
|
||||
// Any change of property can cause a change of a display name
|
||||
ObjectInspector1.ComponentTree.UpdateComponentNodesValues;
|
||||
end;
|
||||
|
||||
{-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user