Fixed a bug where filters were applied but not reflected in the ui.
Peter Eliasson [01-26-15 - 21:15]
Fixed a bug where filters were applied but not reflected in the ui.
diff --git a/src/gui.lua b/src/gui.lua
index 9c8d688..b225b96 100644
--- a/src/gui.lua
+++ b/src/gui.lua
@@ -539,6 +539,13 @@ function gui:ShowMainFrame()
-- Only show if not already shown
self:CreateMainFrame():Show();
+ -- Wipe previous session's parse filters if any
+ -- as the filter container is always created as
+ -- if no filters are selected.
+ -- TODO: Create the gui differently to reflect
+ -- selected parseFilters set already?
+ wipe(self.parseFilters);
+
if self.selectedGuild then
-- Try to restore to same values as before
gui:SetSelectedGuild(self.selectedGuild, true);