Opened 14 years ago

Last modified 13 years ago

#6733 closed defect

[patch] File Open dialog incorrectly accepts folder selection — at Initial Version

Reported by: Don-vip Owned by: team
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: JFileChooser Cc:

Description

The JOSM "File, Open" dialog accepts a folder as selected object(s) whereas only files are processed.
This prevents for example to paste a folder path in its file name text area in order to quickly display a folder's contents before selecting a specific file. Instead, the folder is selected by the JFileChooser and JOSM tries to read the folder contents.

Please find attached the patch.

Change History (1)

by Don-vip, 14 years ago

Attachment: patch.diff added
Note: See TracTickets for help on using tickets.