Quantcast

AckisRecipeList:

Jim-Bim [04-24-09 - 20:00]
AckisRecipeList:
- all pop ups now hide if at least one recipe shows up
Filename
ARLFrame.lua
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