Don't return when space bar is pressed in fileBrowser module

This commit is contained in:
Manuel Cortez 2017-03-05 20:28:34 -06:00
parent bf696ba53a
commit c19a200b8d

View File

@ -763,7 +763,7 @@ class fileBrowser(Listbox):
return 1 return 1
elif curses.ascii.isprint(c): elif curses.ascii.isprint(c):
self.search(chr(c)) self.search(chr(c))
return 1 # return 1
elif c == curses.KEY_UP: elif c == curses.KEY_UP:
if self.pos == 0: if self.pos == 0:
#we don't want to wrap around to the top #we don't want to wrap around to the top