mirror of https://github.com/OpenRCT2/OpenRCT2.git
Reset selection when changing ride tab
This commit is contained in:
parent
7f98dba63a
commit
f988e990ea
|
@ -371,8 +371,11 @@ static void window_editor_object_selection_mouseup()
|
|||
case WIDX_FILTER_RIDE_TAB_ALL:
|
||||
_filter_flags |= 0x7E0;
|
||||
filter_update_counts();
|
||||
w->scrolls->v_top = 0;
|
||||
|
||||
w->selected_list_item = -1;
|
||||
w->var_494 = 0xFFFFFFFF;
|
||||
w->scrolls[0].v_top = 0;
|
||||
object_free_scenario_text();
|
||||
window_invalidate(w);
|
||||
break;
|
||||
case WIDX_FILTER_RIDE_TAB_TRANSPORT:
|
||||
|
|
Loading…
Reference in New Issue