mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-21 09:38:44 +00:00
don't search for empty string in alltorrents.py
This commit is contained in:
parent
ee75786e40
commit
5ae242472f
1 changed files with 4 additions and 1 deletions
|
@ -622,7 +622,10 @@ class AllTorrents(BaseMode):
|
||||||
self.entering_search = False
|
self.entering_search = False
|
||||||
elif c == 10 or c == curses.KEY_ENTER:
|
elif c == 10 or c == curses.KEY_ENTER:
|
||||||
self.entering_search = False
|
self.entering_search = False
|
||||||
|
if self.search_string:
|
||||||
self.__do_search()
|
self.__do_search()
|
||||||
|
else:
|
||||||
|
self.search_string = None
|
||||||
elif c > 31 and c < 256:
|
elif c > 31 and c < 256:
|
||||||
stroke = chr(c)
|
stroke = chr(c)
|
||||||
uchar = ""
|
uchar = ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue