mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 08:30:35 +00:00
Setting default filter index. #35
This commit is contained in:
parent
608b222426
commit
3187d016af
@ -165,6 +165,7 @@ public class SwtAppleCommander implements Listener {
|
|||||||
fileDialog.setFilterNames(names);
|
fileDialog.setFilterNames(names);
|
||||||
fileDialog.setFilterExtensions(extensions);
|
fileDialog.setFilterExtensions(extensions);
|
||||||
fileDialog.setFilterPath(userPreferences.getDiskImageDirectory());
|
fileDialog.setFilterPath(userPreferences.getDiskImageDirectory());
|
||||||
|
fileDialog.setFilterIndex(0);
|
||||||
String fullpath = fileDialog.open();
|
String fullpath = fileDialog.open();
|
||||||
|
|
||||||
if (fullpath != null) {
|
if (fullpath != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user