mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix #2330: Clear button in Object Selector doesn't refresh item list
This commit is contained in:
parent
e05475cb38
commit
67b6aa7513
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue