From e894279a15ef3417ad973441178a98fdcba36f20 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 26 Oct 2012 14:27:54 +0400 Subject: [PATCH] fixed an install error with non existing mover table --- ElvUI_SLE/ElvUI_SLE.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index ea3b033..52e81e0 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -55,11 +55,13 @@ function E:UpdateAll() E:GetModule('RaidUtility'):MoveButton() if not E:HasMoverBeenMoved("LeftChatMover") and E.db.datatexts.leftChatPanel then + if not E.db.movers then E.db.movers = {}; end E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" E:SetMoversPositions() end if not E:HasMoverBeenMoved("RightChatMover") and E.db.datatexts.rightChatPanel then + if not E.db.movers then E.db.movers = {}; end E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" E:SetMoversPositions() end @@ -78,11 +80,13 @@ function SLE:Initialize() SLE:Tutorials() SLE:ConfigCats() if not E:HasMoverBeenMoved("LeftChatMover") and E.db.datatexts.leftChatPanel then + if not E.db.movers then E.db.movers = {}; end E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" E:SetMoversPositions() end if not E:HasMoverBeenMoved("RightChatMover") and E.db.datatexts.rightChatPanel then + if not E.db.movers then E.db.movers = {}; end E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" E:SetMoversPositions() end -- 1.7.9.5