Some updates so top panel can be modified.
Repooc [02-18-13 - 04:27]
Some updates so top panel can be modified.
Signed-off-by: Repooc <tjcooper1982@gmail.com>
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[''] = ''