From 94b3decbb4335ecaca4a554510dc460d0f721b39 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sun, 2 Nov 2008 22:50:10 +0100 Subject: [PATCH] Fixed an error in the visibility handler code on profile change --- Bar.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Bar.lua b/Bar.lua index 08f6089..26d0ecb 100644 --- a/Bar.lua +++ b/Bar.lua @@ -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)