Always show the last-opened tab if there is no search text

This commit is contained in:
Michael Webster 2013-05-21 17:36:15 -04:00
parent f5d9dd2403
commit 3a7cf21d05

View File

@ -558,7 +558,7 @@ class pluginclass( object ):
self.changeTab( 1 ) self.changeTab( 1 )
self.searchEntry.select_region( 0, -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]) self.Filter(self.activeFilter[2], self.activeFilter[1])
def onHideMenu( self ): def onHideMenu( self ):