diff options
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 6e6f2f5e..4575b42c 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -124,7 +124,8 @@ class BrowserColumn(Pager): self.need_redraw = True self.old_dir = self.target - if self.target and self.target.is_directory: + if self.target and self.target.is_directory \ + and self.settings.preview_directories: if self.target.pointed_obj != self.old_cf: self.need_redraw = True self.old_cf = self.target.pointed_obj |