mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Do not set OpenRCT2 as the owner of the file dialog so that it has its own taskbar button and can be independently focused.
This commit is contained in:
@@ -109,7 +109,6 @@ namespace OpenRCT2::Ui
|
||||
// Set open file name options
|
||||
OPENFILENAMEW openFileName = {};
|
||||
openFileName.lStructSize = sizeof(OPENFILENAMEW);
|
||||
openFileName.hwndOwner = GetHWND(window);
|
||||
openFileName.lpstrTitle = wcTitle.c_str();
|
||||
openFileName.lpstrInitialDir = wcInitialDirectory.c_str();
|
||||
openFileName.lpstrFilter = wcFilters.c_str();
|
||||
|
||||
Reference in New Issue
Block a user