Property float is not streamed when =0
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Published property of type float is not stored to *.lfm when its value is 0. It is wrong, floats have no default values, they should be stored always.
Steps to reproduce:
Open project in Lazarus.
Change property Value of TFloatSpinEdit to non 0. Check unit1.lfm, property Value is there.
Change property Value of TFloatSpinEdit to 0. Check unit1.lfm, property Value is not there.
Additional information:
Lazarus 1.9.0 r57458M FPC 3.1.1 x86_64-linux-qt (FPC 38438)
This issue does not happen with FPC 3.0.4 (therefore I report it to FPC section of Mantis).
Mantis conversion info:
- Mantis ID: 33348
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 38438
- Platform: amd64
- Version: 3.1.1
- Monitored by: » @onpok (Ondrej Pokorny)