From b067cc84e868f743489345172323ae1763e78c89 Mon Sep 17 00:00:00 2001 From: Jim-Bim Date: Thu, 6 Nov 2008 21:34:03 +0000 Subject: [PATCH] AckisRecipeList: - properly reset expand all button with clear search - only enable apply button after changing filters --- ARLFrame.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ARLFrame.lua b/ARLFrame.lua index 68056b4..d4cb37d 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -702,6 +702,9 @@ function addon.filterSwitch(val) addon.resetTitle() + -- Make sure our apply button gets enabled + ARL_ApplyButton:Enable() + end -- Description: @@ -1853,6 +1856,9 @@ function RecipeList_Update() end + -- Make sure our apply button gets disabled + ARL_ApplyButton:Disable() + end -- Description: @@ -3202,6 +3208,11 @@ function addon:CreateFrame( addon:ResetSearch(recipeDB) ARL_SearchText:SetText(L["SEARCH_BOX_DESC"]) + + -- Make sure our expand all button is set to expandall + ARL_ExpandButton:SetText(L["EXPANDALL"]) + addon:TooltipDisplay(ARL_ExpandButton, L["EXPANDALL_DESC"]) + initDisplayStrings() RecipeList_Update() -- 1.7.9.5