1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Fix #9293: Issue with the native load/save dialog (#9294)

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:
Ted John
2019-05-24 19:31:29 +01:00
committed by GitHub
parent a484102f61
commit abf72eda7f
2 changed files with 1 additions and 1 deletions

View File

@@ -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();