Quantcast

Make the spellbook tab/button disappear when we're on the glyph screen

James Whitehead II [10-13-08 - 18:17]
Make the spellbook tab/button disappear when we're on the glyph screen
Filename
CliqueOptions.lua
diff --git a/CliqueOptions.lua b/CliqueOptions.lua
index 414d53a..590a677 100644
--- a/CliqueOptions.lua
+++ b/CliqueOptions.lua
@@ -27,7 +27,7 @@ function Clique:OptionsOnLoad()
         self.spellbuttons[i] = button
     end

-    CreateFrame("CheckButton", "CliquePulloutTab", SpellBookFrame, "SpellBookSkillLineTabTemplate")
+    CreateFrame("CheckButton", "CliquePulloutTab", SpellBookSkillLineTab1, "SpellBookSkillLineTabTemplate")
     CliquePulloutTab:SetNormalTexture("Interface\\AddOns\\Clique\\Images\\CliqueIcon")
     CliquePulloutTab:SetScript("OnClick", function() Clique:Toggle() end)
     CliquePulloutTab:SetScript("OnEnter", function() local i = 1 end)