Quantcast

Fixed issue with the editbox's history not being updated when losing focus.

James D. Callahan III [03-23-10 - 06:38]
Fixed issue with the editbox's history not being updated when losing focus.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 2cb984c..81b80c8 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -1449,8 +1449,8 @@ MainPanel.search_editbox:SetScript("OnEditFocusLost",
 				 if text == "" then
 					 self:SetText(L["SEARCH_BOX_DESC"])
 					 return
-					 self:AddHistoryLine(text)
 				 end
+				 self:AddHistoryLine(text)
 			 end)