From dccf208fa54885771bcbc5c397b40dde114a9a0f Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 8 Jan 2016 15:09:38 -0800 Subject: [PATCH] Integrate directory dialog support --- lime/ui/FileDialog.hx | 6 +++--- project/lib/nfd | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lime/ui/FileDialog.hx b/lime/ui/FileDialog.hx index 4427fa894..84ad703b5 100644 --- a/lime/ui/FileDialog.hx +++ b/lime/ui/FileDialog.hx @@ -108,11 +108,11 @@ class FileDialog { var paths:Array = 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: diff --git a/project/lib/nfd b/project/lib/nfd index ea832c07a..e9e3636b0 160000 --- a/project/lib/nfd +++ b/project/lib/nfd @@ -1 +1 @@ -Subproject commit ea832c07a13f2fc680c45665514f710c0f8525c1 +Subproject commit e9e3636b031797396aa502b78432ae1347c2afe3