Properly apply the Grid settings when switching profile

This commit is contained in:
Hendrik Leppkes
2008-11-10 01:08:58 +01:00
parent 2f5605a396
commit c41ac73bb6
+3 -2
View File
@@ -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()