mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 10:51:58 -05:00
Reset window pointer when cleaning up after dropdown
This commit is contained in:
parent
96a75f8c2c
commit
f1fa016400
1 changed files with 1 additions and 0 deletions
|
@ -1261,6 +1261,7 @@ void input_state_widget_pressed(
|
|||
dropdownCleanup = dropdown_index == -1
|
||||
|| (dropdown_index < DROPDOWN_ITEMS_MAX_SIZE && dropdown_is_disabled(dropdown_index))
|
||||
|| gDropdownItemsFormat[dropdown_index] == DROPDOWN_SEPARATOR;
|
||||
w = nullptr; // To be closed right next
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue