mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 07:18:24 +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,7 +11691,8 @@ end;
|
||||
procedure TMainIDE.OnControlSelectionPropsChanged(Sender: TObject);
|
||||
begin
|
||||
if (TheControlSelection=nil) or (FormEditor1=nil) then exit;
|
||||
ObjectInspector1.SaveChanges;
|
||||
if not TheControlSelection.Equals(ObjectInspector1.Selection) then
|
||||
ObjectInspector1.SaveChanges;
|
||||
ObjectInspector1.RefreshPropertyValues;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user