Pet and Stance Bar will now obey the "Disable Tooltip" setting

This commit is contained in:
Hendrik Leppkes
2008-09-06 11:50:12 +02:00
parent dadab99c7c
commit 6172b367c0
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ local _G = _G
local format = string.format
local function onEnter(self, ...)
self:OnEnter(...)
if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then
self:OnEnter(...)
end
KeyBound:Set(self)
end