From f80eaa72b80da31125f98e2150c81b4da0972eac Mon Sep 17 00:00:00 2001 From: Darth Predator Date: Sun, 4 Dec 2016 16:52:49 +0300 Subject: [PATCH] Forgot to replace options after rewriting AP module --- ElvUI_SLE/options/bags_c.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/options/bags_c.lua b/ElvUI_SLE/options/bags_c.lua index 253b3ea..e55985b 100644 --- a/ElvUI_SLE/options/bags_c.lua +++ b/ElvUI_SLE/options/bags_c.lua @@ -1,6 +1,6 @@ local SLE, T, E, L, V, P, G = unpack(select(2, ...)) local ARTIFACT_POWER = ARTIFACT_POWER -local AP = SLE:GetModule("ArtifactPowerBags") +local B = E:GetModule("Bags") local function configTable() if not SLE.initialized then return end @@ -37,7 +37,7 @@ local function configTable() guiInline = true, name = ARTIFACT_POWER, get = function(info) return E.db.sle.bags.artifactPower[ info[#info] ] end, - set = function(info, value) E.db.sle.bags.artifactPower[ info[#info] ] = value; AP:bagUpdate() end, + set = function(info, value) E.db.sle.bags.artifactPower[ info[#info] ] = value; B:Layout() end, args = { enable = { order = 1, @@ -57,7 +57,7 @@ local function configTable() E.db.sle.bags.artifactPower[info[#info]] = {} local t = E.db.sle.bags.artifactPower[info[#info]] t.r, t.g, t.b = r, g, b - AP:bagUpdate() + B:Layout() end, }, short = { @@ -71,7 +71,7 @@ local function configTable() guiInline = true, name = L["Fonts"], get = function(info) return E.db.sle.bags.artifactPower.fonts[ info[#info] ] end, - set = function(info, value) E.db.sle.bags.artifactPower.fonts[ info[#info] ] = value; AP:bagUpdate() end, + set = function(info, value) E.db.sle.bags.artifactPower.fonts[ info[#info] ] = value; B:Layout() end, args = { font = { type = "select", dialogControl = 'LSM30_Font', -- 1.7.9.5