Quantcast

Call TradeSkillFrame_Update() after we're done playing with the filters during the scan.

John Pasula [01-25-11 - 15:56]
Call TradeSkillFrame_Update() after we're done playing with the filters during the scan.
Filename
core.lua
diff --git a/core.lua b/core.lua
index 27cd3ce..dff02a4 100644
--- a/core.lua
+++ b/core.lua
@@ -1639,6 +1639,7 @@ do
 			UIDropDownMenu_Initialize(TradeSkillFilterDropDown, TradeSkillInvSlotDropDown_Initialize)
 			UIDropDownMenu_SetSelectedID(TradeSkillFilterDropDown, 1)
 			SetTradeSkillInvSlotFilter(0, 1, 1)
+			TradeSkillFrame_Update()

 			-- Expand all headers so we can see all the recipes there are
 			for i = GetNumTradeSkills(), 1, -1 do
@@ -1695,6 +1696,7 @@ do
 			TradeSkillFrame.filterTbl.hasSkillUp = have_skillip
 			TradeSkillOnlyShowMakeable(have_materials)
 			TradeSkillOnlyShowSkillUps(have_skillip)
+			TradeSkillFrame_Update()
 		end
 		Player.prev_count = Player.foundRecipes
 		Player.foundRecipes = recipes_found