Skip to content

Commit

Permalink
fix: api key selection window not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF committed Apr 6, 2023
1 parent 0d7816d commit 67d690a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/windows/WinApi.cpp
Expand Up @@ -93,7 +93,7 @@ namespace UKControllerPlugin {
WinApi::FileOpenDialog(std::wstring title, UINT numFileTypes, const COMDLG_FILTERSPEC* fileTypes) const
{
std::wstringstream result;
HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
if (SUCCEEDED(hr)) {
IFileOpenDialog* pFileOpen;

Expand Down

0 comments on commit 67d690a

Please sign in to comment.