win: Use FOS_FORCESHOWHIDDEN for showHiddenFiles
This commit is contained in:
parent
6e0fadbe26
commit
fc72df3ba1
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ bool ShowOpenDialog(atom::NativeWindow* parent_window,
|
|||
options |= FOS_PICKFOLDERS;
|
||||
if (properties & FILE_DIALOG_MULTI_SELECTIONS)
|
||||
options |= FOS_ALLOWMULTISELECT;
|
||||
if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES)
|
||||
options |= FOS_FORCESHOWHIDDEN;
|
||||
|
||||
FileDialog<CShellFileOpenDialog> open_dialog(
|
||||
default_path, title, button_label, filters, options);
|
||||
|
|
Loading…
Reference in a new issue