|FileDialog and setFilterPath - bug or feature? [message #639556]
||Tue, 16 November 2010 21:36
Registered: November 2010
I posted this bug...
but since I'm new to eclipse, and SWT, I wonder if I'm just making a dumb mistake.
I have a FileDialog, which is set to open in the same path every time by using setFilterPath().
But once the dialog is open, i navigate to a different path, and select a file there, then click "Open".
Now the future behaviour changes. Next time, the FileDialog opens up in the location of the last file selected, ignoring the path given by setFilterPath() which is called every time after creating the dialog but before I open the dialog.
I can see why this functionality would be useful *if* setFilterPath was not called, but when it is, it seems wrong to ignore it?
Does anyone know if that's a bug or a "feature"? Thanks in advance...
Powered by FUDForum
. Page generated in 0.01618 seconds