diff options
author | hut <hut@lepus.uberspace.de> | 2014-12-03 20:23:28 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-12-03 20:23:28 +0100 |
commit | 104c5a37894cb993b1e7993e3b04fca61baff347 (patch) | |
tree | 0179dfd2ba29ac173169e5032348e4e87336af31 | |
parent | 1f144a8a067eb23267f2f7eb5be0a725b97e8a68 (diff) | |
download | ranger-104c5a37894cb993b1e7993e3b04fca61baff347.tar.gz |
reset papermanager cache when resetting fm
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 3d74e03a..13bf4dd3 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -51,6 +51,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): self.garbage_collect(-1) self.enter_dir(old_path) self.change_mode('normal') + if self.papermanager: + self.papermanager.reset() def change_mode(self, mode): if mode == self.mode: |