Make sure to re-apply click-through mode after creating new buttons

This commit is contained in:
Hendrik Leppkes
2009-01-22 16:46:23 +01:00
parent 4f7c46ab8c
commit b2d0e3493d
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -65,6 +65,9 @@ function ActionBar:UpdateButtons(numbuttons)
if updateBindings and self.id == "1" then
self.module:ReassignBindings()
end
-- need to re-set clickthrough after creating new buttons
self:SetClickThrough()
end
function ActionBar:SkinChanged(...)
+3
View File
@@ -249,6 +249,9 @@ function StanceBar:UpdateStanceButtons()
StanceBarMod:ReassignBindings()
end
self.disabled = (GetNumShapeshiftForms() == 0) and true or nil
-- need to re-set clickthrough after creating new buttons
self:SetClickThrough()
end
function StanceBar:OnEvent(event, ...)