mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
Merge pull request #823 from frankhale/win-file-dialog-default-path
win: Fix default path for native dialogs
This commit is contained in:
@@ -105,7 +105,7 @@ class FileDialog {
|
||||
NULL,
|
||||
IID_PPV_ARGS(&folder_item));
|
||||
if (SUCCEEDED(hr))
|
||||
GetPtr()->SetDefaultFolder(folder_item);
|
||||
GetPtr()->SetFolder(folder_item);
|
||||
}
|
||||
|
||||
scoped_ptr<T> dialog_;
|
||||
|
||||
Reference in New Issue
Block a user