Skip to content

Commit caa889e

Browse files
miniakckerr
authored andcommitted
Add FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY to web open file dialog (electron#13220) (electron#13276)
1 parent 700ea87 commit caa889e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

atom/browser/web_dialog_helper.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ void WebDialogHelper::RunFileChooser(
215215
flags |= file_dialog::FILE_DIALOG_MULTI_SELECTIONS;
216216
case content::FileChooserParams::Open:
217217
flags |= file_dialog::FILE_DIALOG_OPEN_FILE;
218+
flags |= file_dialog::FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY;
218219
break;
219220
case content::FileChooserParams::UploadFolder:
220221
flags |= file_dialog::FILE_DIALOG_OPEN_DIRECTORY;

0 commit comments

Comments
 (0)