From 4497aedb457094999b4ebf869a3f1d2db5336cf1 Mon Sep 17 00:00:00 2001 From: John Pasula Date: Thu, 27 Jan 2011 18:30:00 -0700 Subject: [PATCH] When changing include filtered or excluded, refresh the display. --- Config.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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, -- 1.7.9.5