Quantcast

AckisRecipeList:

Jim-Bim [09-26-09 - 14:44]
AckisRecipeList:
- fixed the collapse header feature - it works now, too!
- and ARL only expands headers which are collapsed
Filename
AckisRecipeList.lua
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index b5a7a1f..86ef884 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -794,10 +794,8 @@ do
 			-- Expand all headers so we can see all the recipes there are
 			for i = GetNumTradeSkills(), 1, -1 do
 				local name, tradeType, _, isExpanded = GetTradeSkillInfo(i)
-				if isExpanded then
+				if tradeType == "header" and (not isExpanded) then
 					headerlist[name] = true
-				end
-				if tradeType == "header" then
 					ExpandTradeSkillSubClass(i)
 				end
 			end