actionbar: set macro text when option is enabled

This commit is contained in:
dein0s
2019-03-31 14:59:21 +02:00
committed by shagu
parent d46361b964
commit dc34799475
+5 -1
View File
@@ -263,7 +263,11 @@ pfUI:RegisterModule("actionbar", function ()
end
-- update macro text
self.macro:SetText(GetActionText(sid))
if C.bars["bar"..self.bar] and C.bars["bar"..self.bar].showmacro == "1" then
self.macro:SetText(GetActionText(sid))
else
self.macro:SetText("")
end
end
-- update usable