From be1f4d29bd40419f5ac0b644f47330605c09bdcc Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Thu, 3 Jun 2010 07:36:51 -0400 Subject: [PATCH] In ListFrame:Initialize() - changed definition of current_tab. --- Frame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 1b12cd5..7866de2 100644 --- a/Frame.lua +++ b/Frame.lua @@ -3205,7 +3205,7 @@ do function ListFrame:Initialize(expand_mode) local recipe_list = private.recipe_list local sort_type = addon.db.profile.sorting - local current_tab = addon.db.profile.current_tab + local current_tab = MainPanel.tabs[addon.db.profile.current_tab] local search_box = MainPanel.search_editbox local insert_index = 1 @@ -3220,7 +3220,7 @@ do ExpandButton:Contract() - local recipe_count = MainPanel.tabs[current_tab]:Initialize(expand_mode) + local recipe_count = current_tab:Initialize(expand_mode) -- The list always starts at the top. ScrollUpButton:Disable() -- 1.7.9.5