From d649980e42e42473c5d28ebfaaa15ded310a47ff Mon Sep 17 00:00:00 2001 From: Repooc Date: Sun, 17 Feb 2013 23:27:53 -0500 Subject: [PATCH] Some updates so top panel can be modified. Signed-off-by: Repooc --- ElvUI_SLE/ElvUI_SLE.lua | 2 -- ElvUI_SLE/config/profile.lua | 2 ++ ElvUI_SLE/modules/datatexts/options.lua | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua index 53164d9..05f4a77 100644 --- a/ElvUI_SLE/ElvUI_SLE.lua +++ b/ElvUI_SLE/ElvUI_SLE.lua @@ -87,7 +87,6 @@ function E:UpdateAll() end E:GetModule('UIButtons'):UpdateAll() E:GetModule('RaidMarks'):Update() - E.db.datatexts.panels.Top_Center = 'Version' SLE:ChatPos() end @@ -158,7 +157,6 @@ function SLE:Initialize() if E.db.general.loginmessage then print(format(L['SLE_LOGIN_MSG'], E["media"].hexvaluecolor, SLE.version)) end - E.db.datatexts.panels.Top_Center = 'Version' DTP:DashboardShow() SLE:Tutorials() SLE:ConfigCats() diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua index 9cd6951..9dd2f11 100644 --- a/ElvUI_SLE/config/profile.lua +++ b/ElvUI_SLE/config/profile.lua @@ -277,6 +277,7 @@ P['datatexts'] = { ['middle'] = '', ['right'] = '', }, + ['Top_Center'] = 'Version', ['Bottom_Panel'] = '', ['LeftMiniPanel'] = 'Guild', ['RightMiniPanel'] = 'Friends', @@ -337,6 +338,7 @@ P['datatexts'] = { ['middle'] = '', ['right'] = '', }, + ['Top_Center'] = 'Version', ['Bottom_Panel'] = '', ['LeftMiniPanel'] = 'Guild', ['RightMiniPanel'] = 'Friends', diff --git a/ElvUI_SLE/modules/datatexts/options.lua b/ElvUI_SLE/modules/datatexts/options.lua index 22f318b..04e0e6f 100644 --- a/ElvUI_SLE/modules/datatexts/options.lua +++ b/ElvUI_SLE/modules/datatexts/options.lua @@ -23,9 +23,7 @@ local chatT = { function DT:PanelLayoutOptions() for name, _ in pairs(DT.RegisteredDataTexts) do - if name ~= 'Version' then datatexts[name] = name - end end datatexts[''] = '' -- 1.7.9.5