Update install.lua
Repooc [10-11-12 - 03:19]
Update install.lua
Signed-off-by: Repooc <repooc@tukui.org>
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)