Skip to content

Commit

Permalink
Fix open dialog not working
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed May 26, 2024
1 parent 47188e6 commit 0887201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systemdialogs/open_file_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class OpenFileDialogImpl : public OpenFileDialog
if (SUCCEEDED(result))
{
ComPtr<IShellItemArray> items;
result = open_dialog->GetSelectedItems(items.TypedInitPtr());
result = open_dialog->GetResults(items.TypedInitPtr());
throw_if_failed(result, "IFileOpenDialog.GetSelectedItems failed");

DWORD num_items = 0;
Expand Down

0 comments on commit 0887201

Please sign in to comment.