1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix #5790: Ride list window does not force refresh on view change (#5791)

This commit is contained in:
Richard Jenkins
2017-07-04 23:03:43 +01:00
committed by Ted John
parent 705ad7c85d
commit 4e4022d693

View File

@@ -249,6 +249,7 @@ static void window_ride_list_mouseup(rct_window *w, rct_widgetindex widgetIndex)
w->list_information_type = _window_ride_list_information_type;
w->no_list_items = 0;
w->selected_list_item = -1;
window_ride_list_refresh_list(w);
break;
case WIDX_TAB_1:
case WIDX_TAB_2:
@@ -261,7 +262,7 @@ static void window_ride_list_mouseup(rct_window *w, rct_widgetindex widgetIndex)
if (w->page != PAGE_RIDES && _window_ride_list_information_type > INFORMATION_TYPE_RUNNING_COST) {
_window_ride_list_information_type = INFORMATION_TYPE_STATUS;
}
window_invalidate(w);
window_ride_list_refresh_list(w);
}
break;
case WIDX_CLOSE_LIGHT: