From a4dc121bea3b76f1b19932cbedb3edb8156a187b Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 24 Mar 2010 23:13:46 -0400 Subject: [PATCH] Moved call to SetSortName() from addon:InitializeFrame() to MainPanel.scroll_frame:Update(). --- Frame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 78fee51..4943736 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2641,6 +2641,8 @@ do twipe(self.entries) twipe(recipe_registry) + SetSortName() + if sort_type == "Acquisition" then local sorted_acquires = addon.sorted_acquires local current_prof = Player.current_prof @@ -3506,8 +3508,6 @@ function addon:InitializeFrame() local Frostborn_Taunka_FactionText = isAlliance and BFAC["The Frostborn"] or BFAC["The Taunka"] local Explorer_Hand_FactionText = isAlliance and BFAC["Explorers' League"] or BFAC["The Hand of Vengeance"] - -- Has to be done here because db doesn't exist yet if executed in the main file body. - SetSortName() ------------------------------------------------------------------------------- -- Flyaway virtual frames to group buttons/text easily (and make them easy to show/hide) -- 1.7.9.5