When changing include filtered or excluded, refresh the display.
John Pasula [01-28-11 - 01:30]
When changing include filtered or excluded, refresh the display.
diff --git a/Config.lua b/Config.lua
index 2d1e17a..84b446a 100644
--- a/Config.lua
+++ b/Config.lua
@@ -91,7 +91,10 @@ local function fullOptions()
name = L["Include Filtered"],
desc = L["FILTERCOUNT_DESC"],
get = function() return addon.db.profile.includefiltered end,
- set = function() addon.db.profile.includefiltered = not addon.db.profile.includefiltered end,
+ set = function()
+ addon.db.profile.includefiltered = not addon.db.profile.includefiltered
+ addon:Scan(false, true)
+ end,
},
includeexcluded = {
order = 30,
@@ -99,7 +102,10 @@ local function fullOptions()
name = L["Include Excluded"],
desc = L["EXCLUDECOUNT_DESC"],
get = function() return addon.db.profile.includeexcluded end,
- set = function() addon.db.profile.includeexcluded = not addon.db.profile.includeexcluded end,
+ set = function()
+ addon.db.profile.includeexcluded = not addon.db.profile.includeexcluded
+ addon:Scan(false, true)
+ end,
},
exclusionlist = {
order = 35,