Quantcast

Updating reset function

Darthpred [06-06-15 - 23:46]
Updating reset function
Filename
ElvUI_SLE/core/toolkit.lua
diff --git a/ElvUI_SLE/core/toolkit.lua b/ElvUI_SLE/core/toolkit.lua
index 9220a91..78e3da5 100644
--- a/ElvUI_SLE/core/toolkit.lua
+++ b/ElvUI_SLE/core/toolkit.lua
@@ -182,6 +182,7 @@ function SLE:Reset(group)
 	if not group then print("U wot m8?") end
 	if group == "unitframes" or group == "all" then
 		E.db.sle.combatico.pos = 'TOP'
+		E.db.sle.roleicons = "ElvUI"
 		E.db.sle.powtext = false
 	end
 	if group == "backgrounds" or group == "all" then
@@ -209,8 +210,19 @@ function SLE:Reset(group)
 		E:ResetMovers(L['Raid Marker Bar'])
 	end
 	if group == "all" then
+		E:CopyTable(E.db.sle, P.sle)
 		E:ResetMovers("PvP")
-		E:ResetMovers(L["UI Buttons"])
+		E:ResetMovers(L["S&L UI Buttons"])
+		E:ResetMovers(L["Error Frame"])
+		E:ResetMovers(L["Pet Battle Status"])
+		E:ResetMovers(L["Pet Battle AB"])
+		E:ResetMovers(L["Farm Seed Bars"])
+		E:ResetMovers(L["Farm Tool Bar"])
+		E:ResetMovers(L["Farm Portal Bar"])
+		E:ResetMovers(L["Garrison Tools Bar"])
+		E:ResetMovers(L["Ghost Frame"])
+		E:ResetMovers(L["Raid Utility"])
+
 	end
 	E:UpdateAll()
 end
\ No newline at end of file