Fixed a typo

This commit is contained in:
Manuel Cortez 2017-02-23 14:47:28 -06:00
parent 30e88248e0
commit 9eca86be2d

View File

@ -783,6 +783,7 @@ class fileBrowser(Listbox):
if os.path.isdir(self.getDir()) and self.select_type != "file": if os.path.isdir(self.getDir()) and self.select_type != "file":
self.done = 1 self.done = 1
return 1 return 1
if os.path.isdir(self.getDir()):
self.expand() self.expand()
return 1 return 1
elif c == curses.KEY_LEFT or c == curses.KEY_BACKSPACE: # left arrow quietly back out elif c == curses.KEY_LEFT or c == curses.KEY_BACKSPACE: # left arrow quietly back out