mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
actionbar: set macro text when option is enabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user