Quantcast

Hide spellbook/clique when opening options panel

James Whitehead II [10-13-10 - 13:49]
Hide spellbook/clique when opening options panel
Filename
BindConfig.lua
diff --git a/BindConfig.lua b/BindConfig.lua
index 3728832..008ba5b 100755
--- a/BindConfig.lua
+++ b/BindConfig.lua
@@ -228,6 +228,8 @@ function CliqueConfig:Button_OnClick(button)

     -- Click handler for "Edit" button
     elseif button == self.page1.button_options then
+        SpellBookFrame:Hide()
+        CliqueConfig:Hide()
         InterfaceOptionsFrame_OpenToCategory("Clique")
     elseif button == self.page2.button_save then
         -- Check the input