From 74c8a983c5955d8db2d3e8aa01c525ced1eeeef2 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 23 Mar 2010 02:57:58 -0400 Subject: [PATCH] When clicking the search button, highlight the current text and add it to the editbox history. --- Frame.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frame.lua b/Frame.lua index 81b80c8..f9ed6d7 100644 --- a/Frame.lua +++ b/Frame.lua @@ -1369,6 +1369,8 @@ ARL_SearchButton:SetScript("OnClick", if searchtext ~= "" then MainPanel.search_editbox.prev_search = searchtext + MainPanel.search_editbox:HighlightText() + MainPanel.search_editbox:AddHistoryLine(searchtext) SearchRecipes(searchtext) MainPanel.scroll_frame:Update(false, false) -- 1.7.9.5