1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

forgot changes to other tabs

This commit is contained in:
Robert Jordan
2015-06-14 14:47:08 -04:00
parent f988e990ea
commit 91bd595326

View File

@@ -385,12 +385,14 @@ static void window_editor_object_selection_mouseup()
case WIDX_FILTER_RIDE_TAB_WATER:
case WIDX_FILTER_RIDE_TAB_STALL:
_filter_flags &= ~0x7E0;
_filter_flags |= (1 << (widgetIndex - WIDX_FILTER_RIDE_TAB_TRANSPORT + 5));
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;