summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-22 20:08:24 +0100
committerhut <hut@lavabit.com>2010-03-22 20:08:24 +0100
commitb712bbcf472326b8d748421bf2448acbfe0f92bf (patch)
tree056595d411c7aa738c9c0ef9e729dc4c878bb879 /ranger
parentfe14923beb97ec60c65e5eb6f5cb9ee0bc303e15 (diff)
downloadranger-b712bbcf472326b8d748421bf2448acbfe0f92bf.tar.gz
fixes small bug introduced in fe14923
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 4575b42c..238a4803 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -125,7 +125,7 @@ class BrowserColumn(Pager):
 			self.old_dir = self.target
 
 		if self.target and self.target.is_directory \
-				and self.settings.preview_directories:
+				and (self.level <= 0 or self.settings.preview_directories):
 			if self.target.pointed_obj != self.old_cf:
 				self.need_redraw = True
 				self.old_cf = self.target.pointed_obj