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

fix #2434: Dropdown menus linger when toolbars are toggled

This commit is contained in:
IntelOrca
2015-12-04 19:02:24 +00:00
parent 737baf8b78
commit 9c19d689c2

View File

@@ -259,6 +259,7 @@ static void shortcut_remove_top_bottom_toolbar_toggle()
return;
if (window_find_by_class(WC_TOP_TOOLBAR) != NULL) {
window_close(window_find_by_class(WC_DROPDOWN));
window_close(window_find_by_class(WC_TOP_TOOLBAR));
window_close(window_find_by_class(WC_BOTTOM_TOOLBAR));
} else {