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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -47,6 +47,7 @@
- Fix: [#9152] Spectators can modify ride colours.
- Fix: [#9202] Artefacts show when changing ride type as client or using in-game console.
- Fix: [#9240] Crash when passing directory instead of save file.
- Fix: [#9293] Issue with the native load/save dialog.
- Fix: Guests eating popcorn are drawn as if they're eating pizza.
- Fix: The arbitrary ride type and vehicle dropdown lists are ordered case-sensitively.
- Improved: [#6116] Expose colour scheme for track elements in the tile inspector.

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