Mercurial > wow > reaction
diff ActionButton.lua @ 277:4e325f1ea6e1
Construct the button name in the base class
author | Flick |
---|---|
date | Wed, 11 May 2011 11:27:36 -0700 |
parents | 36a29870bf34 |
children | 276165a0e860 |
line wrap: on
line diff
--- a/ActionButton.lua Wed May 11 11:11:59 2011 -0700 +++ b/ActionButton.lua Wed May 11 11:27:36 2011 -0700 @@ -194,9 +194,7 @@ ReAction:RegisterBarType(Action, true) function Action:New( config, bar, idx, idHint ) - local name = format("ReAction_%s_Action_%d",bar:GetName(),idx) - - self = Super.New(self, name, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) + self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) self.barConfig = bar:GetConfig() local f = self:GetFrame()