From a48aafd5da8b1bd104cbf26e5e3b46a4137c2d05 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 24 Apr 2009 17:25:21 +0000 Subject: [PATCH] Fix drop down menus (Ticket 484) --- AckisRecipeList.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index bf6dcbe..1ce9271 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -810,13 +810,15 @@ do TradeSkillOnlyShowMakeable(false) end - -- Clear the sub-classes filters - SetTradeSkillSubClassFilter(0, 1, 1) - UIDropDownMenu_SetSelectedID(TradeSkillSubClassDropDown, 1) - -- Clear the inventory slot filter - SetTradeSkillInvSlotFilter(0, 1, 1); + UIDropDownMenu_Initialize(TradeSkillInvSlotDropDown, TradeSkillInvSlotDropDown_Initialize) UIDropDownMenu_SetSelectedID(TradeSkillInvSlotDropDown, 1) + SetTradeSkillInvSlotFilter(0, 1, 1) + + -- Clear the sub-classes filters + UIDropDownMenu_Initialize(TradeSkillSubClassDropDown, TradeSkillSubClassDropDown_Initialize) + UIDropDownMenu_SetSelectedID(TradeSkillSubClassDropDown, 1) + SetTradeSkillSubClassFilter(0, 1, 1) -- Expand all headers so we can see all the recipes there are for i = GetNumTradeSkills(), 1, -1 do -- 1.7.9.5