summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-12 22:15:06 +0200
committerhut <hut@lavabit.com>2010-10-12 22:15:06 +0200
commit0118ffbd5d8ec27284019a1a657748eedb7d1686 (patch)
tree4b21cbfa5c2ccad5b14576085072c9e5013aaf6c
parent754bf128e146e21e3377541e47dd5ee3f55ac5a5 (diff)
downloadranger-0118ffbd5d8ec27284019a1a657748eedb7d1686.tar.gz
core.actions: fix previews of linked files
-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):