From 4bf9fe197989f4331aebf2fd4c1b8b89978d135b Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 24 Nov 2012 11:03:14 +0400 Subject: [PATCH] little fail --- ElvUI_SLE/modules/install.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua index 2331e8d..e055918 100644 --- a/ElvUI_SLE/modules/install.lua +++ b/ElvUI_SLE/modules/install.lua @@ -537,9 +537,11 @@ function E:SetupLayout(layout, noDataReset) E:SetupTheme(E.private.theme, true) end - E:CopyTable(E.db.sle.marks, P.sle.marks) - E:CopyTable(E.db.sle.backgrounds, P.sle.backgrounds) - E:CopyTable(E.db.sle.uibuttons, P.sle.uibuttons) + if not noDataReset then + E:CopyTable(E.db.sle.marks, P.sle.marks) + E:CopyTable(E.db.sle.backgrounds, P.sle.backgrounds) + E:CopyTable(E.db.sle.uibuttons, P.sle.uibuttons) + end E:UpdateAll(true) local DT = E:GetModule('DataTexts') -- 1.7.9.5