summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-12-03 20:23:28 +0100
committerhut <hut@lepus.uberspace.de>2014-12-03 20:23:28 +0100
commit104c5a37894cb993b1e7993e3b04fca61baff347 (patch)
tree0179dfd2ba29ac173169e5032348e4e87336af31
parent1f144a8a067eb23267f2f7eb5be0a725b97e8a68 (diff)
downloadranger-104c5a37894cb993b1e7993e3b04fca61baff347.tar.gz
reset papermanager cache when resetting fm
-rw-r--r--ranger/core/actions.py2
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: