Apparently this is needed
Darthpred [08-06-16 - 06:17]
Apparently this is needed
diff --git a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
index 6b3326a..128bf56 100644
--- a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
+++ b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
@@ -845,6 +845,8 @@ end
function CA:UpdateSettings(part)
local db = E.db.sle.Armory.Character
+ if not db.Enable then return end
+ if db.Enable and _G["CharacterArmory"].Setup_CharacterArmory then _G["CharacterArmory"]:Setup_CharacterArmory() end
if part == "ilvl" or part == "all" then
for _, SlotName in T.pairs(Info.Armory_Constants.GearList) do
if _G["CharacterArmory"][SlotName] and _G["CharacterArmory"][SlotName].ItemLevel then
@@ -885,7 +887,7 @@ function CA:UpdateSettings(part)
end
end
end
- if part == "bg" or part == "all" then
+ if (part == "bg" or part == "all") then
_G["CharacterArmory"]:Update_BG()
end
if part == "gear" or part == "all" then
diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua
index d86b185..3512973 100644
--- a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua
+++ b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua
@@ -2447,6 +2447,8 @@ end
function IA:UpdateSettings(part)
local db = E.db.sle.Armory.Inspect
+ if not db.Enable then return end
+ if db.Enable and _G["InspectArmory"].CreateInspectFrame then _G["InspectArmory"]:CreateInspectFrame() end
if part == "ilvl" or part == "all" then
for _, SlotName in T.pairs(Info.Armory_Constants.GearList) do
if _G["InspectArmory"][SlotName] and _G["InspectArmory"][SlotName].Gradation and _G["InspectArmory"][SlotName].Gradation.ItemLevel then