Issue 7390: FileDialogWindow answers wrong FileReference for selected file
http://code.google.com/p/pharo/issues/detail?id=7390This one is important because in 20503, directory repositories can not be added via the MC browser.
Steps to reproduce:
1. In MC Browser, click +Repository, choose Directory
2. Select a directory in the "File" (right) pane of the directory chooser, and accept
Problem:
The returned FileReference will be the path to the directory selected in the left pane, with a printString of a FileDirectoryEntry appended to it - i.e. garbage
Fix in inbox: SLICE-Issue-7390-FileDialogWindow-answers-wrong-FileReference-for-selected-file-SeanDeNigris.1
- Fix FileDialogWindow>>selectedAnyFileDirectory
- return the proper FileReference when a file is selected
- Refactor for clarity incl. adding temps
- Clean up comment
Cheers,
Sean