mirror of https://github.com/buggins/dlangui.git
Merge branch 'master' of github.com:buggins/dlangui
This commit is contained in:
commit
ecdaa7287f
|
@ -513,7 +513,7 @@ class FileDialog : Dialog, CustomGridCellAdapter {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
else if (exists(_filename) && isFile(_filename)) {
|
||||
else if (!(_flags & FileDialogFlag.FileMustExist) || (exists(_filename) && isFile(_filename))) {
|
||||
// open dialog
|
||||
close(result);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue