Quantcast

* Make sure to call using NinjaPanel instead of self in the context of the panel

James Whitehead II [02-07-09 - 19:55]
* Make sure to call using NinjaPanel instead of self in the context of the panel
Filename
NinjaPanel.lua
diff --git a/NinjaPanel.lua b/NinjaPanel.lua
index bcc63ca..e570c11 100644
--- a/NinjaPanel.lua
+++ b/NinjaPanel.lua
@@ -402,7 +402,7 @@ function Panel_UpdateLayout(self)
 			button.icon:Hide()
 		end

-		self:UpdateTooltipHandlers(button, entry.object)
+		NinjaPanel:UpdateTooltipHandlers(button, entry.object)

 		button:SetScript("OnClick", entry.object.OnClick)
 		button:SetScript("OnDragStart", Button_OnDragStart)