Mercurial > wow > reaction
diff modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 92:5f1d7a81317c
- Various bugfixes
- Switched action bar paging/mc fully to the _childupdate method
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 17 Oct 2008 22:43:57 +0000 |
parents | c2504a8b996c |
children | 890e4c4ab143 |
line wrap: on
line diff
--- a/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Fri Oct 17 03:59:55 2008 +0000 +++ b/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Fri Oct 17 22:43:57 2008 +0000 @@ -128,6 +128,7 @@ local editor = LibStub("AceGUI-3.0"):Create("Frame") local frame = editor.frame frame:SetClampedToScreen(true) + frame:Hide() local old_OnUpdate = frame:GetScript("OnUpdate") frame:SetScript("OnUpdate", function(dt) if old_OnUpdate then @@ -295,10 +296,12 @@ AceConfigReg:RegisterOptionsTable(editorName, options) function editor:Open(bar, ...) + if not frame:IsVisible() then + AceConfigDialog:Open(editorName,self) + end if bar then AceConfigDialog:SelectGroup(editorName, barOptMap[bar:GetName()], ...) end - AceConfigDialog:Open(editorName,self) end function editor:Refresh()