From 1aae8833a2ea9756b50d020f814dfbc24b5f121b Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 18 Jun 2010 00:26:34 -0400 Subject: [PATCH] Fixed logic when clicking tabs to not occur multiple times. --- Frame.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Frame.lua b/Frame.lua index 6ec1185..e97483d 100644 --- a/Frame.lua +++ b/Frame.lua @@ -1119,10 +1119,10 @@ do else tab:ToBack() end - addon.db.profile.current_tab = id_num - ListFrame:Update(nil, false) - PlaySound("igCharacterInfoTab") end + addon.db.profile.current_tab = id_num + ListFrame:Update(nil, false) + PlaySound("igCharacterInfoTab") end local function CreateTab(id_num, text, ...) @@ -3285,6 +3285,7 @@ do _G.StaticPopup_Show("ARL_SEARCHFILTERED") else addon:Print(L["NO_DISPLAY"]) + addon:Debug("Current tab is %s", tostring(addon.db.profile.current_tab)) addon:Debug("recipes_total check for 0") addon:Debug("recipes_total: " .. Player.recipes_total) addon:Debug("recipes_total check for equal to recipes_total") -- 1.7.9.5