Quantcast

Fix another corner case where escape could get eaten

James Whitehead II [10-19-10 - 17:02]
Fix another corner case where escape could get eaten
Filename
BindConfig.lua
diff --git a/BindConfig.lua b/BindConfig.lua
index 5d16369..00b9b3f 100755
--- a/BindConfig.lua
+++ b/BindConfig.lua
@@ -42,7 +42,6 @@ end
 function CliqueConfig:OnHide()
     self:ClearAllPoints()
     self:SetParent(UIParent)
-    self:Hide()
     CliqueSpellTab:SetChecked(false)
     self:UpdateAlert()
 end
@@ -239,7 +238,7 @@ function CliqueConfig:Button_OnClick(button)

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