From 6925cbd0d429310de7c7b8aa04ecd138233ba1cc Mon Sep 17 00:00:00 2001 From: Repooc Date: Wed, 10 Oct 2012 22:19:20 -0500 Subject: [PATCH] Update install.lua Signed-off-by: Repooc --- ElvUI_SLE/core/install.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua index 53a9ae3..48e15fd 100644 --- a/ElvUI_SLE/core/install.lua +++ b/ElvUI_SLE/core/install.lua @@ -221,13 +221,15 @@ function E:SetupTheme(theme, noDisplayMsg) if not noDisplayMsg then E:UpdateAll(true) end - - InstallStatus:SetStatusBarColor(unpack(E['media'].rgbvaluecolor)) - - if InstallStepComplete and not noDisplayMsg then - InstallStepComplete.message = L["Theme Set"] - InstallStepComplete:Show() - end + + if InstallStatus then + InstallStatus:SetStatusBarColor(unpack(E['media'].rgbvaluecolor)) + + if InstallStepComplete and not noDisplayMsg then + InstallStepComplete.message = L["Theme Set"] + InstallStepComplete:Show() + end + end end function E:SetupResolution(noDataReset) -- 1.7.9.5