From b00227a0f148fd842b644802e56423a7d4c9fb09 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 7 Feb 2009 19:55:19 +0000 Subject: [PATCH] * Make sure to call using NinjaPanel instead of self in the context of the panel --- NinjaPanel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.9.5