Fixed a typo
This commit is contained in:
parent
30e88248e0
commit
9eca86be2d
@ -783,8 +783,9 @@ class fileBrowser(Listbox):
|
||||
if os.path.isdir(self.getDir()) and self.select_type != "file":
|
||||
self.done = 1
|
||||
return 1
|
||||
self.expand()
|
||||
return 1
|
||||
if os.path.isdir(self.getDir()):
|
||||
self.expand()
|
||||
return 1
|
||||
elif c == curses.KEY_LEFT or c == curses.KEY_BACKSPACE: # left arrow quietly back out
|
||||
self.collapse()
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user