fix #2330: Clear button in Object Selector doesn't refresh item list

This commit is contained in:
IntelOrca 2015-11-18 23:19:25 +00:00
parent e05475cb38
commit 67b6aa7513
1 changed files with 2 additions and 2 deletions

View File

@ -861,9 +861,9 @@ static void window_editor_object_selection_mouseup(rct_window *w, int widgetInde
break;
case WIDX_FILTER_CLEAR_BUTTON:
memset(_filter_string, 0, sizeof(_filter_string));
filter_update_counts();
w->scrolls->v_top = 0;
visible_list_refresh(w);
window_invalidate(w);
break;
case WIDX_LIST_SORT_TYPE: