diff options
author | hut <hut@lavabit.com> | 2013-04-24 21:15:22 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-04-24 21:15:22 +0200 |
commit | 05db678e26d6a3170026205bae8936133b84b1ef (patch) | |
tree | 7ec8b040131fc9c641f20bc0ea9c87af6d290421 /ranger | |
parent | f28d418a7e6e22b5f0661e30a8d0fceb22067661 (diff) | |
download | ranger-05db678e26d6a3170026205bae8936133b84b1ef.tar.gz |
core.action: make pager_move work in log too (key W)
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 8bd6dd0f..0856c9f7 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -480,7 +480,10 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): # -------------------------- def pager_move(self, narg=None, **kw): - self.ui.browser.pager.move(narg=narg, **kw) + if self.ui.pager.visible: + self.ui.pager.move(narg=narg, **kw) + if self.ui.browser.pager.visible: + self.ui.browser.pager.move(narg=narg, **kw) def taskview_move(self, narg=None, **kw): self.ui.taskview.move(narg=narg, **kw) |