mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
This commit is contained in:
committed by
GitHub
parent
8eb9e4aceb
commit
a37cdcf178
@@ -1,5 +1,6 @@
|
|||||||
0.4.27 (in development)
|
0.4.27 (in development)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
- Fix: [#25132] Crash when trying to use simulate on incomplete ride.
|
||||||
|
|
||||||
0.4.26 (2025-09-06)
|
0.4.26 (2025-09-06)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1866,7 +1866,10 @@ namespace OpenRCT2::Ui::Windows
|
|||||||
SetDropdown(info, RideStatus::open, STR_OPEN_RIDE);
|
SetDropdown(info, RideStatus::open, STR_OPEN_RIDE);
|
||||||
WindowDropdownShowText(
|
WindowDropdownShowText(
|
||||||
{ windowPos.x + widget->left, windowPos.y + widget->top }, widget->height() + 1, colours[1], 0, info.NumItems);
|
{ windowPos.x + widget->left, windowPos.y + widget->top }, widget->height() + 1, colours[1], 0, info.NumItems);
|
||||||
|
if (info.CheckedIndex != -1)
|
||||||
|
{
|
||||||
gDropdown.items[info.CheckedIndex].setChecked(true);
|
gDropdown.items[info.CheckedIndex].setChecked(true);
|
||||||
|
}
|
||||||
gDropdown.defaultIndex = info.DefaultIndex;
|
gDropdown.defaultIndex = info.DefaultIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user