Integrate directory dialog support

This commit is contained in:
Joshua Granick
2016-01-08 15:09:38 -08:00
parent 1ddb43b990
commit dccf208fa5
2 changed files with 4 additions and 4 deletions

View File

@@ -108,11 +108,11 @@ class FileDialog {
var paths:Array<String> = null;
switch (type) {
case OPEN:
path = lime_file_dialog_open_file (filter, defaultPath);
case OPEN_DIRECTORY:
path = lime_file_dialog_open_directory (filter, defaultPath);
@@ -126,7 +126,7 @@ class FileDialog {
path = lime_file_dialog_save_file (filter, defaultPath);
}
switch (type) {
case OPEN, OPEN_DIRECTORY, SAVE: