Quantcast

Get selected skill was broken.

Paul Schifferer [12-01-10 - 04:42]
Get selected skill was broken.
Filename
CauldronMain.lua
CauldronMain.xml
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 086b2d8..c8c2be0 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -671,7 +671,7 @@ function Cauldron:GetSelectedSkill()
 	end

 --	local selected = self.db.realm.userdata[self.vars.playername].skills[skillName].window.selected;
-	local selected = TradeSkillFrame.selectedSkill;
+	local selected = GetTradeSkillSelectionIndex();
 	if not selected then
 		return nil;
 	end
diff --git a/CauldronMain.xml b/CauldronMain.xml
index e756d2c..0fe31f4 100755
--- a/CauldronMain.xml
+++ b/CauldronMain.xml
@@ -752,7 +752,9 @@
                     </Frames>

         <Scripts>
-            <OnLoad function="CauldronQueueWindowFrame_OnLoad" />
+            <OnLoad>
+            	return;
+            </OnLoad>
             <OnShow>
                 PlaySound("igCharacterInfoOpen");
             </OnShow>