diff --git a/aux-addon.lua b/aux-addon.lua index 5ee503e..2f7f266 100644 --- a/aux-addon.lua +++ b/aux-addon.lua @@ -72,6 +72,7 @@ do local index function get_active_tab() return tab_info[index] end function on_tab_click(i) + CloseDropDownMenus() do (index and active_tab.CLOSE or nop)() end index = i do (index and active_tab.OPEN or nop)() end diff --git a/tabs/search/core.lua b/tabs/search/core.lua index 5fbe1a5..1d9f7be 100644 --- a/tabs/search/core.lua +++ b/tabs/search/core.lua @@ -43,6 +43,7 @@ function USE_ITEM(item_info) end function set_subtab(tab) + CloseDropDownMenus() search_results_button:UnlockHighlight() saved_searches_button:UnlockHighlight() new_filter_button:UnlockHighlight()