revert some changes to the action button code again to resolve a weird issue with moving spells (once again its not possible to move actions in combat)

This commit is contained in:
Hendrik Leppkes
2008-06-22 00:24:42 +00:00
parent 5da823daf6
commit 7de890f912
6 changed files with 403 additions and 94 deletions
+4 -3
View File
@@ -171,9 +171,10 @@ function ActionBar:UpdateButtons(numbuttons)
-- show active buttons
for i = 1, numbuttons do
self:SetAttribute("addchild", buttons[i])
buttons[i]:SetParent(self)
buttons[i]:SetLevels()
buttons[i]:Show()
buttons[i]:Update()
buttons[i]:UpdateAction(true)
end
-- hide inactive buttons
@@ -256,7 +257,7 @@ function ActionBar:SetHideHotkey(state)
if state ~= nil then
self.config.hidehotkey = state
end
self:ForAll("UpdateHotkey")
self:ForAll("Update")
end
function ActionBar:GetHideHotkey()