From 05db678e26d6a3170026205bae8936133b84b1ef Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 24 Apr 2013 21:15:22 +0200 Subject: core.action: make pager_move work in log too (key W) --- ranger/core/actions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0