summary refs log tree commit diff stats
path: root/ranger/container
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 17:15:33 +0100
committerhut <hut@lavabit.com>2010-03-12 17:15:33 +0100
commit581cce8ce660fd3e8ea4b230faf51ca7554af492 (patch)
tree987743dcaf6282e4019326630f6476e10d55ee4c /ranger/container
parent89660a640e925c7cd7806309003d069816053de8 (diff)
downloadranger-581cce8ce660fd3e8ea4b230faf51ca7554af492.tar.gz
actions: correct preview after deleting
Diffstat (limited to 'ranger/container')
-rw-r--r--ranger/container/environment.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/container/environment.py b/ranger/container/environment.py
index c67161ca..347bd2b1 100644
--- a/ranger/container/environment.py
+++ b/ranger/container/environment.py
@@ -120,6 +120,10 @@ class Environment(SettingsAware):
 			path.move_to_obj(last_path)
 			last_path = path
 
+	def ensure_correct_pointer(self):
+		if self.pwd:
+			self.pwd.correct_pointer()
+
 	def history_go(self, relative):
 		"""Move relative in history"""
 		if self.history: