Quantcast

Removed some bad frame references in the main and shopping list UI code.

pschifferer [11-18-09 - 05:05]
Removed some bad frame references in the main and shopping list UI code.
Filename
CauldronMainUI.lua
CauldronShoppingListUI.lua
diff --git a/CauldronMainUI.lua b/CauldronMainUI.lua
index f3f160c..59fa4b8 100644
--- a/CauldronMainUI.lua
+++ b/CauldronMainUI.lua
@@ -387,10 +387,12 @@ function Cauldron:UpdateSkillList()
 		frame:SetNormalTexture(skillInfo.icon);
 		frame.itemLink = skillInfo.link;
 		frame.skillIndex = skillInfo.index;
-
+
+		--[[
 		frame = _G["CauldronSkillItem"..i.."SkillNameTooltipFrame"];
 		frame.skillIndex = skillInfo.index;
-
+		--]]
+
 		-- set the craft count
 		frame = _G["CauldronSkillItem"..i.."SkillIconCount"];
 		local minMade, maxMade = skillInfo.minMade, skillInfo.maxMade;
diff --git a/CauldronShoppingListUI.lua b/CauldronShoppingListUI.lua
index e721922..71587fd 100644
--- a/CauldronShoppingListUI.lua
+++ b/CauldronShoppingListUI.lua
@@ -137,8 +137,10 @@ function Cauldron:UpdateShoppingList()

 				_G["CauldronShoppingListItem"..itemIndex]:SetWidth(width - 25);

+				--[[
 				local frame = _G["CauldronShoppingListItem"..itemIndex.."ItemTooltipFrame"];
 				frame.itemLink = link;
+				--]]

 				-- place the frame in the scroll view
 				if frameAbove then