OpenRCT2/src
Michał Janiszewski be82582063 Fix EditorObjectSelection opening of TrackManager
Calling `Close()` on a window deletes its object, rendering any future
uses of its members invalid.

In this case `WindowsCloseAll` closed Editor window itself rendering
call to `ManageTracks` on a deleted pointer. Previously
`WindowsCloseAll` was called, but earlier in the same function we have
already closed all windows but Editor itself. It is sufficient to close
the editor once we have opened `TrackDesignList`.

When this got fixed, I noticed `TrackDesignList` could not locate any
rides, which was happening due to calls to `ObjectManager::UnloadAll`
in several places. Code to load the selected ride back was added.
2023-03-28 11:37:38 +02:00
..
openrct2 Update backtrace token for upcoming release (#19742) 2023-03-28 11:36:17 +02:00
openrct2-android Release v0.4.3 2022-12-14 13:22:08 +01:00
openrct2-cli Build with link time code generation only on the develop branch 2023-03-26 16:50:18 +02:00
openrct2-ui Fix EditorObjectSelection opening of TrackManager 2023-03-28 11:37:38 +02:00
openrct2-win Build with link time code generation only on the develop branch 2023-03-26 16:50:18 +02:00
thirdparty Update duktape to v2.7.0 (#18485) 2022-11-11 09:06:05 +01:00