Fix alot of bugs with switching profiles

This commit is contained in:
Hendrik Leppkes
2008-10-15 10:02:40 +02:00
parent 9b35e84ef7
commit b549507c73
8 changed files with 20 additions and 46 deletions
+4 -2
View File
@@ -134,8 +134,10 @@ 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
-- make sure the bar has its current config object if it exists already
if self.actionbars[i] then
self.actionbars[i].config = config
end
if config.enabled then
self:EnableBar(i)
else