From bd8ca128ac81c0fca1490136e50038bfa2cf2a0e Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 1 May 2013 19:58:58 +0200 Subject: core.actions: update preview when changing file in pager --- ranger/core/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 1816867b..80b35970 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -411,6 +411,9 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): cwd.mark_item(f, False) for f in old - current - targets: cwd.mark_item(f, True) + if self.ui.pager.visible: + self.display_file() + def move_parent(self, n, narg=None): self.change_mode('normal') -- cgit 1.4.1-2-gfad0