From 52a56e6690a6d331358971c272fbb26c59bc3a2f Mon Sep 17 00:00:00 2001 From: Jim-Bim Date: Fri, 24 Apr 2009 20:00:52 +0000 Subject: [PATCH] AckisRecipeList: - all pop ups now hide if at least one recipe shows up --- ARLFrame.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ARLFrame.lua b/ARLFrame.lua index a772a3c..216f2e6 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -1096,6 +1096,13 @@ local function RecipeList_Update() FauxScrollFrame_Update(ARL_RecipeScrollFrame, entries, maxVisibleRecipes, 16) + -- close all popups + StaticPopup_Hide("ARL_NOTSCANNED") + StaticPopup_Hide("ARL_ALLFILTERED") + StaticPopup_Hide("ARL_ALLKNOWN") + StaticPopup_Hide("ARL_ALLEXCLUDED") + StaticPopup_Hide("ARL_SEARCHFILTERED") + if (entries > 0) then -- enable expand button -- 1.7.9.5