Refresh the state of buttons when they are newly created.

This commit is contained in:
Hendrik Leppkes
2009-03-25 18:22:42 +01:00
parent cf06d4d754
commit e15647895e
+3
View File
@@ -68,6 +68,9 @@ function ActionBar:UpdateButtons(numbuttons)
-- need to re-set clickthrough after creating new buttons
self:SetClickThrough()
-- Also need to re-apply state fun to the new buttons, just to be sure.
self:UpdateStates()
end
function ActionBar:SkinChanged(...)