diff options
author | hut <hut@lavabit.com> | 2013-05-01 19:58:58 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-05-01 19:58:58 +0200 |
commit | bd8ca128ac81c0fca1490136e50038bfa2cf2a0e (patch) | |
tree | b5e52b79a1194cd697f59747a3c4cd4d85f21cbf /ranger | |
parent | 58aa2b4541100201e91934a807c024d81142a258 (diff) | |
download | ranger-bd8ca128ac81c0fca1490136e50038bfa2cf2a0e.tar.gz |
core.actions: update preview when changing file in pager
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 3 |
1 files changed, 3 insertions, 0 deletions
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') |