changeset 281:2098dba4baf5

Merge
author Flick
date Wed, 11 May 2011 16:20:48 -0700
parents 5b9c0164a491 (current diff) b3c01452d395 (diff)
children 7a9e82c0df15
files PetActionButton.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/PetActionButton.lua	Wed May 11 16:19:17 2011 -0700
+++ b/PetActionButton.lua	Wed May 11 16:20:48 2011 -0700
@@ -81,6 +81,8 @@
 function Pet:New( config, bar, idx, idHint )
   self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" )
 
+  local name = self:GetFrame():GetName()
+
   local f = self:GetFrame()
   if not f.autoCastTexture then
     -- store autocast stuff with the frame for recycling