mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
win: Use FOS_FORCESHOWHIDDEN for showHiddenFiles
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user