From 3723c688ffa78324b13ffb236d87764deac00399 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 28 Mar 2010 23:55:25 -0400 Subject: [PATCH] Changed checking of the editbox text when there are no entries. --- Frame.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index e859e7a..d434a79 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2999,6 +2999,7 @@ do addon.db.profile.addonversion = addon.version showpopup = true end + local editbox_text = MainPanel.search_editbox:GetText() if Player.recipes_total == 0 then if showpopup then @@ -3016,7 +3017,7 @@ do if showpopup then _G.StaticPopup_Show("ARL_ALLEXCLUDED") end - elseif MainPanel.search_editbox:GetText() ~= "" then + elseif editbox_text ~= "" and editbox_text ~= _G.SEARCH then _G.StaticPopup_Show("ARL_SEARCHFILTERED") else addon:Print(L["NO_DISPLAY"]) -- 1.7.9.5