diff options
-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) |