Floating point properties =0 not streamed
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Because of changes in FPC trunk, floating point properties are not streamed to *.lfm when their value is =0. Now it is necessary to mark those properties "nodefault".
This is Delphi compatible.
Patch added.
Steps to reproduce:
New project.
Put TFloatSpinEdit or TFloatSpinEditEx to a form and set MinValue to -100 and MaxValue to 0.
Save project.
Close project and reopen it. Now MinValue will be -100 but MaxValue will be 100.
Additional information:
So far I found TFloatSpinEdit.MaxValue and TFloatSpinEditEx.MaxValue where it makes sense.
Lazarus 1.9.0 r57601M FPC 3.1.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 33567
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 57601
- Platform: amd64
- Version: 1.9 (SVN)
- Fixed in revision: 57605 (#81bee86e)