From abf72eda7f0b60399e79018ec5f2ce12c4c0008a Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 24 May 2019 19:31:29 +0100 Subject: [PATCH] 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. --- distribution/changelog.txt | 1 + src/openrct2-ui/UiContext.Win32.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index b6df9f9e4c..b1877ade72 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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. diff --git a/src/openrct2-ui/UiContext.Win32.cpp b/src/openrct2-ui/UiContext.Win32.cpp index 67b6365b97..c9b0e99538 100644 --- a/src/openrct2-ui/UiContext.Win32.cpp +++ b/src/openrct2-ui/UiContext.Win32.cpp @@ -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();