From 850d93466ca168004d224e27aeccce496d69b76d Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 15 Oct 2010 21:27:19 +0100 Subject: [PATCH] Hide the bindAlert if the spellbook frame isn't open --- BindConfig.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BindConfig.lua b/BindConfig.lua index 4c0fec4..b96f7dd 100755 --- a/BindConfig.lua +++ b/BindConfig.lua @@ -26,6 +26,13 @@ function CliqueConfig:OnShow() self.initialized = true end + -- Hide the alertTab if the spellbook isn't shown + if SpellButton1:IsVisible() then + self.bindAlert:Show() + else + self.bindAlert:Hide() + end + CliqueSpellTab:SetChecked(true) self:UpdateList() self:EnableSpellbookButtons() -- 1.7.9.5