diff options
Diffstat (limited to 'ranger/container/file.py')
-rw-r--r-- | ranger/container/file.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/container/file.py b/ranger/container/file.py index 86e83a92..b1245647 100644 --- a/ranger/container/file.py +++ b/ranger/container/file.py @@ -90,3 +90,6 @@ class File(FileSystemObject): def get_preview_source(self, width, height): return self.fm.get_preview(self, width, height) + + def is_image_preview(self): + return 'imagepreview' in self.fm.previews[self.realpath] |