Make sure that every bar has the proper config reference when switching profiles
This commit is contained in:
@@ -134,6 +134,8 @@ end
|
|||||||
function BT4ActionBars:ApplyConfig()
|
function BT4ActionBars:ApplyConfig()
|
||||||
for i=1,10 do
|
for i=1,10 do
|
||||||
local config = self.db.profile.actionbars[i]
|
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
|
if config.enabled then
|
||||||
self:EnableBar(i)
|
self:EnableBar(i)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user