Fixed a typo
This commit is contained in:
parent
30e88248e0
commit
9eca86be2d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user