Mercurial > wow > cyborg-mmo7
diff CallbackFactory.lua @ 30:ea423ee3a8c1
Don't preload the macro frame, test for it when necessary.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Thu, 25 Apr 2013 01:31:11 +0000 |
parents | 3b1c0b676583 |
children | 2d6684c270b9 |
line wrap: on
line diff
--- a/CallbackFactory.lua Thu Apr 25 01:31:06 2013 +0000 +++ b/CallbackFactory.lua Thu Apr 25 01:31:11 2013 +0000 @@ -67,7 +67,7 @@ end function callbacks.Macros() - if MacroFrame:IsShown() and MacroFrame:IsVisible() then + if MacroFrame and MacroFrame:IsShown() and MacroFrame:IsVisible() then HideUIPanel(MacroFrame) else ShowMacroFrame()