update buttons after setting the style

This commit is contained in:
Hendrik Leppkes
2008-03-11 15:09:23 +00:00
parent f7845069b5
commit 17f6d471f1
+4
View File
@@ -80,6 +80,10 @@ function Bartender4.ButtonStyle.ApplyStyle(button, styleName)
else
button.icon:SetAllPoints(button)
end
if type(button.Update) == "function" then
button:Update()
end
end
function Bartender4.ButtonStyle:GetStyles()