Clear search entry when switching from Apps to Favorites

Took two clicks because of a loop in the logic (setting to empty
also invokes setting the tab).

Fixes #44
This commit is contained in:
hordepfo 2014-01-22 03:56:22 +00:00
parent b5d0c7257f
commit 6766ff6edd

View File

@ -571,8 +571,9 @@ class pluginclass( object ):
elif tabNum == 1: elif tabNum == 1:
notebook.set_current_page( 1 ) notebook.set_current_page( 1 )
self.lastActiveTab = tabNum
self.focusSearchEntry() self.focusSearchEntry()
self.lastActiveTab = tabNum
def Todos( self ): def Todos( self ):