Quantcast

When wiping exclusions from the config panel, re-scan the tradeskill.

James D. Callahan III [03-22-10 - 18:54]
When wiping exclusions from the config panel, re-scan the tradeskill.
Filename
Config.lua
diff --git a/Config.lua b/Config.lua
index 55cb261..c06c953 100644
--- a/Config.lua
+++ b/Config.lua
@@ -86,7 +86,8 @@ local function fullOptions()
 							func	= function(info)
 									  local exclusion_list = addon.db.profile.exclusionlist

-									  exclusion_list = twipe(exclusion_list)
+									  exclusion_list = table.wipe(exclusion_list)
+									  addon:Scan()
 								  end,
 						},
 						resetallfilters = {
@@ -94,7 +95,9 @@ local function fullOptions()
 							type	= "execute",
 							name	= L["Reset All Filters"],
 							desc	= L["RESET_DESC"],
-							func	= function(info) addon.resetFilters() end,
+							func	= function(info)
+									  addon.resetFilters()
+								  end,
 						},
 						spacer1 = {
 							order	= 19,