From 133efaaf1ef811c8a5f0e71e5781e95843a66ab7 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 3 May 2008 19:32:47 +0000 Subject: [PATCH] fix tooltip disabling --- Button.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Button.lua b/Button.lua index f26ad3e..d53fb66 100644 --- a/Button.lua +++ b/Button.lua @@ -130,7 +130,9 @@ function onReceiveDrag(button) end function onEnter(self) - self:SetTooltip() + if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then + self:SetTooltip() + end KeyBound:Set(self) end