about summary refs log tree commit diff stats
path: root/ranger/gui/widgets/browsercolumn.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/widgets/browsercolumn.py')
-rw-r--r--ranger/gui/widgets/browsercolumn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index abda649d..2eb44112 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -59,7 +59,7 @@ class BrowserColumn(Pager, Widget):
 					self.fm.move_pointer(absolute = index)
 			elif event.pressed(3):
 				try:
-					clicked_file = self.target[index]
+					clicked_file = self.target.files[index]
 					self.fm.enter_dir(clicked_file.path)
 				except:
 					pass
@@ -201,7 +201,7 @@ class BrowserColumn(Pager, Widget):
 			i = line + self.scroll_begin
 
 			try:
-				drawed = self.target[i]
+				drawed = self.target.files[i]
 			except IndexError:
 				break