diff options
author | hut <hut@lavabit.com> | 2010-10-12 22:15:06 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-12 22:15:06 +0200 |
commit | 0118ffbd5d8ec27284019a1a657748eedb7d1686 (patch) | |
tree | 4b21cbfa5c2ccad5b14576085072c9e5013aaf6c | |
parent | 754bf128e146e21e3377541e47dd5ee3f55ac5a5 (diff) | |
download | ranger-0118ffbd5d8ec27284019a1a657748eedb7d1686.tar.gz |
core.actions: fix previews of linked files
-rw-r--r-- | ranger/core/actions.py | 3 |
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): |