From ac4485e9b81fd2fc5a0f5cddbb08cad09c2d2321 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 8 May 2015 02:59:04 +0400 Subject: [PATCH] Fixing armory buttons in install again. Should fix #126 --- ElvUI_SLE/core/install.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua index a9fd6e0..4c03aa2 100644 --- a/ElvUI_SLE/core/install.lua +++ b/ElvUI_SLE/core/install.lua @@ -1114,13 +1114,13 @@ local function SetPage(PageNum) f.Desc1:SetText(L["SLE_ARMORY_INSTALL"]) f.Desc2:SetText(L["This will enable S&L Armory mode components that will show more detailed information at a quick glance on the toons you inspect or your own character."]) f.Desc3:SetText(L["Importance: |cffFF0000Low|r"]) - + SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript('OnClick', function() E.private.sle.Armory.Character.Enable = true; E.private.sle.Armory.Inspect.Enable = true; end) + SLEInstallOption1Button:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = true; E.db.sle.Armory.Inspect.Enable = true; end) SLEInstallOption1Button:SetText(ENABLE) SLEInstallOption2Button:Show() - SLEInstallOption2Button:SetScript('OnClick', function() E.private.sle.Armory.Character.Enable = true; E.private.sle.Armory.Inspect.Enable = true; end) + SLEInstallOption2Button:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = false; E.db.sle.Armory.Inspect.Enable = false; end) SLEInstallOption2Button:SetText(DISABLE) elseif PageNum == 4 then -- 1.7.9.5