mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 11:35:57 +02:00
LazReport: Fixed loading FreeReport files with TfrCheckBoxView (where CheckBox does not have Checked property).
Patch by https://gitlab.com/michalgw, issue #41326.
This commit is contained in:
parent
880cd91c00
commit
63dc9e6f2c
@ -174,7 +174,9 @@ end;
|
||||
procedure TfrCheckBoxView.LoadFromStream(Stream: TStream);
|
||||
begin
|
||||
inherited LoadFromStream(Stream);
|
||||
Stream.Read(fChecked, SizeOf(fChecked));
|
||||
// CheckBox from FreeReport does not have "Checked" property
|
||||
if frVersion > 23 then
|
||||
Stream.Read(fChecked, SizeOf(fChecked));
|
||||
end;
|
||||
|
||||
procedure TfrCheckBoxView.SaveToStream(Stream: TStream);
|
||||
|
Loading…
Reference in New Issue
Block a user