mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 14:17:20 +01:00
LCL: Prevent removing LCLVersion property when saving a form or frame. Issue #41801.
This commit is contained in:
parent
f5987d2f9f
commit
79fc6daa46
@ -3187,7 +3187,7 @@ end;
|
||||
|
||||
function TForm.LCLVersionIsStored: boolean;
|
||||
begin
|
||||
Result:=Parent=nil;
|
||||
Result := csDesignInstance in ComponentState;
|
||||
end;
|
||||
|
||||
class procedure TForm.WSRegisterClass;
|
||||
|
||||
@ -224,7 +224,7 @@ end;
|
||||
|
||||
function TFrame.LCLVersionIsStored: boolean;
|
||||
begin
|
||||
Result := Parent = nil;
|
||||
Result := csDesignInstance in ComponentState;
|
||||
end;
|
||||
|
||||
constructor TFrame.Create(TheOwner: TComponent);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user