summary refs log tree commit diff stats
path: root/ranger/container/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/container/environment.py')
-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: