From 91bd595326c6d2ec4ae16f820337a14635bd940c Mon Sep 17 00:00:00 2001 From: Robert Jordan Date: Sun, 14 Jun 2015 14:47:08 -0400 Subject: [PATCH] forgot changes to other tabs --- src/windows/editor_object_selection.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/windows/editor_object_selection.c b/src/windows/editor_object_selection.c index ac5f0fe093..20abdeafa7 100644 --- a/src/windows/editor_object_selection.c +++ b/src/windows/editor_object_selection.c @@ -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;