mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
don't search for empty string in alltorrents.py
This commit is contained in:
parent
ee75786e40
commit
5ae242472f
@ -622,7 +622,10 @@ class AllTorrents(BaseMode):
|
||||
self.entering_search = False
|
||||
elif c == 10 or c == curses.KEY_ENTER:
|
||||
self.entering_search = False
|
||||
self.__do_search()
|
||||
if self.search_string:
|
||||
self.__do_search()
|
||||
else:
|
||||
self.search_string = None
|
||||
elif c > 31 and c < 256:
|
||||
stroke = chr(c)
|
||||
uchar = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user