mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-18 17:08:27 +02:00
ide: don't auto save current values of object inspector if selection was not changed but some selection properties was changed (fixes part of bug #0010331)
git-svn-id: trunk@18626 -
This commit is contained in:
parent
e14c92e885
commit
0d0cb8c4f7
@ -11691,6 +11691,7 @@ end;
|
|||||||
procedure TMainIDE.OnControlSelectionPropsChanged(Sender: TObject);
|
procedure TMainIDE.OnControlSelectionPropsChanged(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if (TheControlSelection=nil) or (FormEditor1=nil) then exit;
|
if (TheControlSelection=nil) or (FormEditor1=nil) then exit;
|
||||||
|
if not TheControlSelection.Equals(ObjectInspector1.Selection) then
|
||||||
ObjectInspector1.SaveChanges;
|
ObjectInspector1.SaveChanges;
|
||||||
ObjectInspector1.RefreshPropertyValues;
|
ObjectInspector1.RefreshPropertyValues;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user