From af0b5e61763ad8a26aea4b17314315288901dc8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 8 Feb 2013 17:49:37 +0100 Subject: [PATCH] searchDisplay: Unset default result when clearing search If we fail to do so, a previously set result may be activated by hitting enter, even if a search did not turn up any actual results. --- js/ui/searchDisplay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 2008451a3..5df94be12 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -423,6 +423,7 @@ const SearchResults = new Lang.Class({ this._searchSystem.reset(); this._statusBin.hide(); this._clearDisplay(); + this._defaultResult = null; }, startingSearch: function() {