applied a fix to the "Hide" option in different states until the hiding system can be re-written

This commit is contained in:
Hendrik Leppkes
2008-06-21 13:19:28 +00:00
parent 3ea0cf7a76
commit 31cc52cbff
3 changed files with 42 additions and 7 deletions
+12
View File
@@ -197,6 +197,18 @@ function ActionBar:SkinChanged(...)
self:ForAll("Update")
end
function ActionBar:Lock()
if self.disabled or not self.unlocked then return end
ButtonBar.Lock(self)
self:UpdateStates()
end
function ActionBar:Unlock()
if self.disabled or self.unlocked then return end
ButtonBar.Unlock(self)
self:UpdateStates(true)
end
--[[===================================================================================
ActionBar Config Interface