diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index a815b111..2f6d2719 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -576,7 +576,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): # -- Previews # -------------------------- def get_preview(self, path, width, height): - if self.settings.preview_script: + if self.settings.preview_script and self.settings.use_preview_script: # self.previews is a 2 dimensional dict: # self.previews['/tmp/foo.jpg'][(80, 24)] = "the content..." # self.previews['/tmp/foo.jpg']['loading'] = False |