mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix #2434: Dropdown menus linger when toolbars are toggled
This commit is contained in:
parent
737baf8b78
commit
9c19d689c2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue