tweak style support

This commit is contained in:
Hendrik Leppkes
2008-03-11 09:06:05 +00:00
parent 8b4d870e36
commit f7845069b5
4 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -132,7 +132,6 @@ function ActionBar:ApplyConfig(config)
self:UpdateButtons()
self:UpdateStates()
self:ForAll("ApplyStyle", self.config.style)
end
-- Update the number of buttons in our bar, creating new ones if necessary
@@ -154,6 +153,7 @@ function ActionBar:UpdateButtons(numbuttons)
-- show active buttons
for i = 1, numbuttons do
buttons[i]:Show()
buttons[i]:ApplyStyle(self.config.style)
buttons[i]:UpdateAction(true)
end