From c347b9d157c24a51d22211e46a542c2f409b82ec Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 20 Jan 2009 19:31:56 +0000 Subject: [PATCH] Add debug text for prof switching and fix a typo --- ARLFrame.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index bd06156..8111935 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -2016,9 +2016,16 @@ do end end + -- @debug@ + self:Print("DEBUG: Switching professions, getting skill level for: " .. currentProfession) + --@end-debug@ + -- Get the skill level for i=1,NumSkillLines,1 do local skillName,_,_,skillRank = GetSkillLineInfo(i) + -- @debug@ + self:Print("DEBUG: Switching professions, examining: " .. skillName .. " (" .. skillRank .. ")") + --@end-debug@ if (skillName == currentProfession) then -- @debug@ self:Print("DEBUG: Switching professions, found new skill level for: " .. skillName .. " (" .. skillRank .. ")") @@ -4367,7 +4374,7 @@ function addon:DisplayTextDump(textdump) local close = CreateFrame("Button", nil, frame, "UIPanelCloseButton") close:SetPoint("TOPRIGHT",frame,"TOPRIGHT") - frame:show() + frame:Show() else local buttsecks = _G["ARLCopyFrame"] -- 1.7.9.5