Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit eaeb2dc

Browse files
committed
Merge pull request #140 from zanqi/zanqi
Add path input field in open folder dialog
2 parents b9c9e9b + 7afc7c4 commit eaeb2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appshell/appshell_extensions_win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ int32 ShowOpenDialog(bool allowMultipleSelection,
423423
BROWSEINFO bi = {0};
424424
bi.hwndOwner = GetActiveWindow();
425425
bi.lpszTitle = title.c_str();
426-
bi.ulFlags = BIF_NEWDIALOGSTYLE;
426+
bi.ulFlags = BIF_NEWDIALOGSTYLE | BIF_EDITBOX;
427427
bi.lpfn = SetInitialPathCallback;
428428
bi.lParam = (LPARAM)initialDirectory.c_str();
429429

0 commit comments

Comments
 (0)