From 0118ffbd5d8ec27284019a1a657748eedb7d1686 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 12 Oct 2010 22:15:06 +0200 Subject: core.actions: fix previews of linked files --- ranger/core/actions.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit 1.4.1-2-gfad0