From 9c19d689c2771c102266127a1ce53ebd2e696ef4 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Fri, 4 Dec 2015 19:02:24 +0000 Subject: [PATCH] fix #2434: Dropdown menus linger when toolbars are toggled --- src/interface/keyboard_shortcut.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interface/keyboard_shortcut.c b/src/interface/keyboard_shortcut.c index 946ab53dcf..606b45a181 100644 --- a/src/interface/keyboard_shortcut.c +++ b/src/interface/keyboard_shortcut.c @@ -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 {