View Single Post
01-09-13, 09:50 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Try changing self.unit to self.__owner.unit... I don't remember offhand whether the base frame or the element frame is passed as self, but if you're getting an error with self.unit then it's probably the element frame.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote