Mercurial > wow > reaction
diff Editor.lua @ 194:55af1ebbec65
Remove silly 'close this window when you open the other one' checkboxes
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 15 Nov 2010 10:30:19 -0800 |
parents | d58055179c16 |
children | 85213d045acb |
line wrap: on
line diff
--- a/Editor.lua Mon Nov 15 10:22:45 2010 -0800 +++ b/Editor.lua Mon Nov 15 10:30:19 2010 -0800 @@ -52,37 +52,24 @@ type = "execute", name = L["Global Config"], desc = L["Opens ReAction global configuration settings panel"], - func = function() - if ReAction.db.profile.editorCloseOnLaunch then - self:Close() - end - ReAction:ShowOptions() - end, + func = function() ReAction:ShowOptions(); self:Close() end, order = 1 }, - closeThis = { - type = "toggle", - name = L["Close Editor"], - desc = L["Close the Bar Editor when opening the ReAction global Interface Options"], - get = function() return ReAction.db.profile.editorCloseOnLaunch end, - set = function(info, val) ReAction.db.profile.editorCloseOnLaunch = val end, - order = 2, - }, hdr = { type = "header", name = "", - order = 3, + order = 2, }, desc = { type = "description", name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."], width = "double", - order = 4, + order = 3, }, _new = { type = "group", name = L["New Bar..."], - order = 5, + order = 4, args = { desc = { type = "description",