1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Fix options disabled_widgets

There was a bug that caused the first widget on each page to appear disabled due to not being reset when changing page / invalidating. Fixes #1275
This commit is contained in:
Duncan Frost
2015-06-09 17:14:57 +01:00
parent 72de8ad103
commit 62bdd8a0ab

View File

@@ -966,6 +966,7 @@ static void window_options_invalidate()
window_init_scroll_widgets(w);
}
window_options_set_pressed_tab(w);
w->disabled_widgets = 0;
switch (w->page) {
case WINDOW_OPTIONS_PAGE_DISPLAY: