From 76eebbb3e1f25c9ead950334f8a3890f906301ea Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 7 Jul 2014 22:15:15 +0400 Subject: [PATCH] FU Repooc --- ElvUI_SLE/config/profile.lua | 1 - ElvUI_SLE/modules/loot/loot.lua | 5 +---- ElvUI_SLE/modules/loot/options.lua | 10 ++++------ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua index edd9839..3d096b6 100755 --- a/ElvUI_SLE/config/profile.lua +++ b/ElvUI_SLE/config/profile.lua @@ -268,7 +268,6 @@ P['sle'] = { ['quality'] = "EPIC", ['chat'] = "RAID", ['auto'] = true, - ['merge'] = true, }, --Tooltip Faction Icon diff --git a/ElvUI_SLE/modules/loot/loot.lua b/ElvUI_SLE/modules/loot/loot.lua index 5db634e..cbc45c6 100755 --- a/ElvUI_SLE/modules/loot/loot.lua +++ b/ElvUI_SLE/modules/loot/loot.lua @@ -61,10 +61,7 @@ local function PopulateTable(q) end end end - - if E.db.sle.loot.merge then - Merge() - end + Merge() end local function Channel() diff --git a/ElvUI_SLE/modules/loot/options.lua b/ElvUI_SLE/modules/loot/options.lua index f80dc0c..95b239f 100755 --- a/ElvUI_SLE/modules/loot/options.lua +++ b/ElvUI_SLE/modules/loot/options.lua @@ -1,4 +1,5 @@ local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore +local LT = E:GetModule('SLE_Loot') local function configTable() --Main options group @@ -33,13 +34,10 @@ E.Options.args.sle.args.options.args.loot = { get = function(info) return E.db.sle.loot.auto end, set = function(info, value) E.db.sle.loot.auto = value; end }, - merge = { + spacer = { order = 5, - type = "toggle", - name = L["Merge identical"], - disabled = function() return not E.private.sle.loot.enable end, - get = function(info) return E.db.sle.loot.merge end, - set = function(info, value) E.db.sle.loot.merge = value end + type = "description", + name = "", }, quality = { order = 6, -- 1.7.9.5