Fixed the hotkey range-indicator

This commit is contained in:
Hendrik Leppkes
2009-01-07 15:42:29 +01:00
parent 02acd3212b
commit 303cea06c7
+1 -1
View File
@@ -197,7 +197,7 @@ function onUpdate(self, elapsed)
if self.rangeTimer <= 0 then
local valid = IsActionInRange(self.action)
local hotkey = self.hotkey
local hkshown = (hotkey:GetText() == RANGE_INDICATOR and oor == "hotkey")
local hkshown = (hotkey:GetText() == RANGE_INDICATOR and Bartender4.db.profile.outofrange == "hotkey")
if valid and hkshown then
hotkey:Show()
elseif hkshown then