Properly reset visibility when enabling/disabling a bar

This commit is contained in:
Hendrik Leppkes
2008-10-30 09:30:47 +01:00
parent 24bf38f563
commit bde7969215
+1
View File
@@ -393,6 +393,7 @@ function Bar:Disable()
self.disabled = true
self:UnregisterAllEvents()
self:DisableVisibilityDriver()
self:SetAttribute("state-vis", nil)
self:Hide()
end