TFileNameEdit crashes if DialogKind = dkSave
Original Reporter info from Mantis: emaijala
-
Reporter name: Ere Maijala
Original Reporter info from Mantis: emaijala
- Reporter name: Ere Maijala
Description:
TFileNameEdit crashes if DialogKind is dkSave. This is because the last line in function TFileNameEdit.CreateDialog is wrong. It should set Result.Title, not O.Title.
Steps to reproduce:
Create a new application. Add a TFileNameEdit to the form. Change its DialogKind to dkSave. Compile and run the program and click on the TFileNameEdit button.
Mantis conversion info:
- Mantis ID: 1016
- Build: 20050708
- Version: 0.9.7 (CVS)