summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 47560bbe..3382b7b1 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -614,8 +614,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 						data['foundpreview'] = False
 					else:
 						data[(-1, -1)] = None
-					if self.env.cf.path == path:
-						self.ui.browser.pager.need_redraw = True
+					if self.env.cf.realpath == path:
 						self.ui.browser.need_redraw = True
 					data['loading'] = False
 				def on_destroy(signal):