From 3a7cf21d0538606cb274772467ef2edf1d651995 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Tue, 21 May 2013 17:36:15 -0400 Subject: [PATCH] Always show the last-opened tab if there is no search text --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 3e0eadb..4628fd7 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -558,7 +558,7 @@ class pluginclass( object ): self.changeTab( 1 ) self.searchEntry.select_region( 0, -1 ) - if self.rememberFilter: + if self.rememberFilter and self.searchEntry.get_text().strip() != "": self.Filter(self.activeFilter[2], self.activeFilter[1]) def onHideMenu( self ):