diff options
Diffstat (limited to 'ranger/gui/widgets/browsercolumn.py')
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index d705e6ba..14900e8b 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -186,7 +186,10 @@ class BrowserColumn(Pager): if f is None: Pager.close(self) else: - self.set_source(f) + if self.target.is_image_preview(): + self.set_image(f) + else: + self.set_source(f) Pager.draw(self) def _draw_directory(self): |