From c41ac73bb61274dba7fc83a85f45bed622d68836 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Mon, 10 Nov 2008 01:08:58 +0100 Subject: [PATCH] Properly apply the Grid settings when switching profile --- ActionBar.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ActionBar.lua b/ActionBar.lua index 1b600ab..7448564 100644 --- a/ActionBar.lua +++ b/ActionBar.lua @@ -104,10 +104,11 @@ function ActionBar:SetGrid(state) self.config.showgrid = state end if self.config.showgrid then - self:ForAll("ShowGrid", true) + self:ForAll("ShowGrid") else - self:ForAll("HideGrid", true) + self:ForAll("HideGrid") end + self:ForAll("UpdateGrid") end function ActionBar:UpdateSelfCast()