summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-03 04:46:39 +0200
committerhut <hut@lavabit.com>2011-10-03 04:46:39 +0200
commit9095d0f622be44918abc0709df3574bffa277a80 (patch)
treec43cfb1a9c0db0025a6b2c935f23ab6dd914e74b
parent1069340758a6dc425beefb9d3807a64026ba9641 (diff)
downloadranger-9095d0f622be44918abc0709df3574bffa277a80.tar.gz
core.actions: Fix another garbage collection bug
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index dff3e9b9..ffcf0dc7 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -53,7 +53,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 		"""Reset the filemanager, clearing the directory buffer"""
 		old_path = self.env.cwd.path
 		self.previews = {}
-		self.env.garbage_collect(-1)
+		self.env.garbage_collect(-1, self.tabs)
 		self.enter_dir(old_path)
 
 	def reload_cwd(self):