mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 02:29:26 +02:00
LazReport: Fixed loading FreeReport files with TfrCheckBoxView (where CheckBox does not have Checked property).
Patch by https://gitlab.com/michalgw, issue #41326.
(cherry picked from commit 63dc9e6f2c
)
This commit is contained in:
parent
a0ac8baed0
commit
aebc30192c
@ -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