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;
|
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;
|
||||||
|
|
Loading…
Reference in New Issue