From aa9d9b6dca83e63b2fecf6939719270e04d013d2 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 23 Feb 2013 18:13:26 +0400 Subject: [PATCH] A little evil stuff Cause of damn elv changing stuff on layout selection i needed to do full reset in my setup --- ElvUI_SLE/modules/install.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua index eca5685..b00a263 100644 --- a/ElvUI_SLE/modules/install.lua +++ b/ElvUI_SLE/modules/install.lua @@ -752,7 +752,11 @@ end function E:DarthSetup() --The function to switch from classic ElvUI settings to Darth's InstallStepComplete.message = L["Darth's Defaults Set"] InstallStepComplete:Show() + E:CopyTable(E.db, P) + E:CopyTable(E.db.sle, P.sle) if not E.db.movers then E.db.movers = {}; end + if not E.db.datatexts.lfrshow then E.db.datatexts.lfrshow = {} end + if not E.db.loclite then E.db.loclite = {} end layout = E.db.layoutSet --To know if some sort of layout was choosed before @@ -1257,12 +1261,11 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.sle.farm.seedor = "BOTTOM" --LocationLite-- - if not E.db.loclite then E.db.loclite = {} end - E.db.loclite.lpfontsize = 10, - E.db.loclite.lpfontflags = "OUTLINE", - E.db.loclite.lpwidth = 300, - E.db.loclite.dig = false, - E.db.loclite.lpauto = false, + E.db.loclite.lpfontsize = 10 + E.db.loclite.lpfontflags = "OUTLINE" + E.db.loclite.lpwidth = 300 + E.db.loclite.dig = false + E.db.loclite.lpauto = false E.db.loclite.trans = true --Moving stuff-- -- 1.7.9.5