From b94625ae3353ff6db8ebb42290caecfc68b38e78 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 2 Mar 2013 15:56:08 +0400 Subject: [PATCH] Version check moved to init --- ElvUI_SLE/ElvUI_SLE.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index 4317767..6504f3f 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -63,10 +63,7 @@ function SLE:ChatPos() end end ---Showing warning message about too old versions of ElvUI -if tonumber(E.version) < 5.32 then - E:StaticPopup_Show("VERSION_MISMATCH") -end + E.UpdateAllSLE = E.UpdateAll function E:UpdateAll() @@ -192,6 +189,10 @@ function E:BeginFoolsDayEvent() end function SLE:Initialize() + --Showing warning message about too old versions of ElvUI + if tonumber(E.version) < 5.32 then + E:StaticPopup_Show("VERSION_MISMATCH") + end DTP = E:GetModule('DTPanels') if E.private.unitframe.enable then self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator); -- 1.7.9.5