Do not empty search_string so user can continue to cycle through results with 'n' key

This commit is contained in:
Asmageddon 2012-05-26 23:02:45 +02:00
parent a9af9cabb4
commit 6326902287
1 changed files with 0 additions and 1 deletions

View File

@ -890,7 +890,6 @@ class AllTorrents(BaseMode, component.Component):
elif c == curses.KEY_END: elif c == curses.KEY_END:
self.cursor = len(self.search_string) self.cursor = len(self.search_string)
elif c in [10, curses.KEY_ENTER]: elif c in [10, curses.KEY_ENTER]:
self.search_string = None
self.entering_search = False self.entering_search = False
self.search_state = SEARCH_EMPTY self.search_state = SEARCH_EMPTY
elif c == 27: elif c == 27: