Revert "Fixed removing of incorrect component properties in LFM with installed DockedFormEditor. Issue #40377."

This reverts commit 25a3b69252.
This commit is contained in:
michl 2023-07-27 20:35:18 +02:00
parent 0878535faa
commit 94afdceb9c

View File

@ -3874,10 +3874,6 @@ begin
Result:=mrOk;
finally
Project1.EndUpdate;
// set all modified to false
Project1.ClearModifieds(true);
SourceEditorManager.DecUpdateLock;
if (Result<>mrOk) and (Project1<>nil) then begin
// mark all files, that are left to open as unloaded:
@ -3890,6 +3886,9 @@ begin
end;
end;
// set all modified to false
Project1.ClearModifieds(true);
// call ProjectOpened handlers
HandlerResult:=MainIDE.DoCallProjectChangedHandler(lihtProjectOpened, Project1);
if not (HandlerResult in [mrOk,mrCancel,mrAbort]) then