diff options
Diffstat (limited to 'ranger/gui/widgets/filelistcontainer.py')
-rw-r--r-- | ranger/gui/widgets/filelistcontainer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/filelistcontainer.py b/ranger/gui/widgets/filelistcontainer.py index 594d0530..fa4ec989 100644 --- a/ranger/gui/widgets/filelistcontainer.py +++ b/ranger/gui/widgets/filelistcontainer.py @@ -58,7 +58,7 @@ class FileListContainer(Widget, DisplayableContainer): def poke(self): DisplayableContainer.poke(self) - if self.preview: + if self.settings.collapse_preview and self.preview: has_preview = self.container[-1].has_preview() if self.preview_available != has_preview: self.preview_available = has_preview |