Mercurial > wow > reaction
comparison modules/ConfigUI.lua @ 143:f823f2a5dcb1
fixed right-click opens bar editor
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 13 Apr 2009 21:39:52 +0000 |
parents | 29dacbecdb52 |
children | 8cc187143acd |
comparison
equal
deleted
inserted
replaced
142:b68be4b6d129 | 143:f823f2a5dcb1 |
---|---|
294 } | 294 } |
295 } | 295 } |
296 AceConfigReg:RegisterOptionsTable(editorName, options) | 296 AceConfigReg:RegisterOptionsTable(editorName, options) |
297 | 297 |
298 function editor:Open(bar, ...) | 298 function editor:Open(bar, ...) |
299 if not frame:IsVisible() then | |
300 AceConfigDialog:Open(editorName,self) | |
301 end | |
302 if bar then | 299 if bar then |
303 AceConfigDialog:SelectGroup(editorName, barOptMap[bar:GetName()], ...) | 300 AceConfigDialog:SelectGroup(editorName, barOptMap[bar:GetName()], ...) |
304 end | 301 end |
302 AceConfigDialog:Open(editorName,self) | |
305 end | 303 end |
306 | 304 |
307 function editor:Refresh() | 305 function editor:Refresh() |
308 AceConfigReg:NotifyChange(editorName) | 306 AceConfigReg:NotifyChange(editorName) |
309 end | 307 end |