diff options
-rw-r--r-- | ranger/core/fm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py index 9f409a94..76aa7876 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -106,7 +106,7 @@ class FM(Actions, # pylint: disable=too-many-instance-attributes self.settings.signal_bind( 'setopt.preview_images', - lambda signal: setattr(signal.fm, 'previews', {}), + lambda signal: signal.fm.previews.clear(), ) if ranger.args.clean: |