Make sure that every bar has the proper config reference when switching profiles

This commit is contained in:
Hendrik Leppkes
2008-10-15 02:52:31 +02:00
parent 1290f1d569
commit 76eebc55ca
+2
View File
@@ -134,6 +134,8 @@ end
function BT4ActionBars:ApplyConfig()
for i=1,10 do
local config = self.db.profile.actionbars[i]
-- make sure the bar has its current config object
self.actionbars[i].config = config
if config.enabled then
self:EnableBar(i)
else