Merge branch 'master' of github.com:buggins/dlangui

This commit is contained in:
Vadim Lopatin 2017-08-31 11:44:15 +03:00
commit ecdaa7287f
1 changed files with 12 additions and 12 deletions

View File

@ -513,7 +513,7 @@ class FileDialog : Dialog, CustomGridCellAdapter {
return true; return true;
} }
} }
else if (exists(_filename) && isFile(_filename)) { else if (!(_flags & FileDialogFlag.FileMustExist) || (exists(_filename) && isFile(_filename))) {
// open dialog // open dialog
close(result); close(result);
return true; return true;