mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-29 16:49:02 +08: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