summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-04-24 21:15:22 +0200
committerhut <hut@lavabit.com>2013-04-24 21:15:22 +0200
commit05db678e26d6a3170026205bae8936133b84b1ef (patch)
tree7ec8b040131fc9c641f20bc0ea9c87af6d290421
parentf28d418a7e6e22b5f0661e30a8d0fceb22067661 (diff)
downloadranger-05db678e26d6a3170026205bae8936133b84b1ef.tar.gz
core.action: make pager_move work in log too (key W)
-rw-r--r--ranger/core/actions.py5
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)