f354bc68bdfa5be1451a81748545e04422f93d20
Adrian L Lange [01-29-10 - 21:35]
f354bc68bdfa5be1451a81748545e04422f93d20
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index c7e1f3d..2b36975 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -124,9 +124,12 @@ local function customFilter(icons, unit, icon, ...)
end
local function style(self, unit)
- SecureUnitButton_OnLoad(self, unit, menu)
-
self.colors = colors
+ self.menu = menu
+
+ self:RegisterForClicks('AnyUp')
+ self:SetAttribute('type2', 'menu')
+
self:SetScript('OnEnter', UnitFrame_OnEnter)
self:SetScript('OnLeave', UnitFrame_OnLeave)