Fixed an error in the visibility handler code on profile change

This commit is contained in:
Hendrik Leppkes
2008-11-02 22:50:10 +01:00
parent 67261e8c74
commit 94b3decbb4
+1
View File
@@ -314,6 +314,7 @@ function Bar:InitVisibilityDriver(returnOnly)
self.hidedriver = {}
self:SetAttribute("_onstate-vis", [[
if not newstate then return end
if newstate == "show" then
self:Show()
self:SetAttribute("fade", false)