Quantcast

Revert the changes for "Include Excluded", "Display Exclusions" - they're config options, not actions. /headslap pompy

James D. Callahan III [03-30-10 - 10:04]
Revert the changes for "Include Excluded", "Display Exclusions" - they're config options, not actions. /headslap pompy
Filename
Config.lua
diff --git a/Config.lua b/Config.lua
index c7ba3e1..58e96bc 100644
--- a/Config.lua
+++ b/Config.lua
@@ -144,12 +144,6 @@ local function fullOptions()
 							desc	= L["EXCLUDECOUNT_DESC"],
 							get	= function() return addon.db.profile.includeexcluded end,
 							set	= function() addon.db.profile.includeexcluded = not addon.db.profile.includeexcluded end,
-							disabled = function(info)
-									   for spell_id in pairs(addon.db.profile.exclusionlist) do
-										   return false
-									   end
-									   return true
-								   end,
 						},
 						ignoreexclusionlist = {
 							order	= 24,
@@ -164,12 +158,6 @@ local function fullOptions()
 										  addon:Scan()
 									  end
 								  end,
-							disabled = function(info)
-									   for spell_id in pairs(addon.db.profile.exclusionlist) do
-										   return false
-									   end
-									   return true
-								   end,
 						},
 						spacer2 = {
 							order	= 39,