From 1693bd4413c447998dfd0257c533a844fa557ef6 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 16 Apr 2010 01:24:09 -0400 Subject: [PATCH] Moved the filter/exclusion updates from ListFrame:Update() to ListFrame:Initialize(). --- Frame.lua | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Frame.lua b/Frame.lua index 46c5b2f..813da2a 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2916,6 +2916,12 @@ do SetSortName() + addon:UpdateFilters(MainPanel.is_linked) + Player:MarkExclusions() + + ARL_ExpandButton:SetText(L["EXPANDALL"]) + SetTooltipScripts(ARL_ExpandButton, L["EXPANDALL_DESC"]) + if sort_type == "Acquisition" then local sorted_acquires = addon.sorted_acquires local current_prof = Player.current_prof @@ -3053,15 +3059,6 @@ do function ListFrame:Update(expand_mode, refresh) if not refresh then self:Initialize(expand_mode) - - -- Not refreshing and not expanding: Fresh display, so update everything first. - if not expand_mode then - addon:UpdateFilters(MainPanel.is_linked) - Player:MarkExclusions() - - ARL_ExpandButton:SetText(L["EXPANDALL"]) - SetTooltipScripts(ARL_ExpandButton, L["EXPANDALL_DESC"]) - end end local num_entries = #self.entries -- 1.7.9.5