Ticket #17 (defect)
Opened 2 years ago
Last modified 2 years ago
working directory when using openFileDialog
Status: new
| Reported by: | LuckyPhil | Assigned to: | kai |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | shorthike | Version: | |
| Keywords: | working directory | Cc: | |
There appears to be a bug with the openFileDialog function.
When you call this function, and in the process change directories, the ShortHike application appears to lose reference to its assets (which use relative paths). Once you use the dialog box to set the working directory back to the main level (eg, d:\shorthike) everything works again.
Perhaps we should be storing the current working directory at the beginning of the program and then prepending that to all releative paths?
Change History
11/09/06 13:32:16: Modified by LuckyPhil
- owner changed from kaib to kai.
