Mercurial > wow > reaction
diff modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 61:2ee41dcd673f
moved UserError from ConfigUI to ReAction
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Tue, 13 May 2008 16:42:03 +0000 |
parents | 44649a10378d |
children | 768be7eb22a0 |
line wrap: on
line diff
--- a/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Sat May 10 00:08:01 2008 +0000 +++ b/modules/ReAction_ConfigUI/ReAction_ConfigUI.lua Tue May 13 16:42:03 2008 +0000 @@ -48,11 +48,6 @@ end end -function module:UserError(msg) - -- any user errors should be flashed to the UIErrorsFrame - UIErrorsFrame:AddMessage(msg) -end - function module:OpenConfig() InterfaceOptionsFrame_OpenToFrame(configName) end @@ -140,7 +135,7 @@ function() ReAction:SetConfigMode(false) end ) - AceConfigDialog:SetDefaultSize(editorName, 700, 420) + AceConfigDialog:SetDefaultSize(editorName, 700, 540) local options = { @@ -471,7 +466,7 @@ function module:LaunchBarEditor(bar) if InCombatLockdown() then - self:UserError(L["ReAction config mode disabled during combat."]) + ReAction:UserError(L["ReAction config mode disabled during combat."]) else if not self.editor then self.editor = NewEditor()