From 491a5312cc73da810161f014c5c8bb26ec910b18 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 5 Jan 2010 06:16:35 +0100 Subject: pager: open and close it properly --- ranger/gui/defaultui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ranger/gui/defaultui.py b/ranger/gui/defaultui.py index cbc7cb08..9ec03669 100644 --- a/ranger/gui/defaultui.py +++ b/ranger/gui/defaultui.py @@ -58,6 +58,7 @@ class DefaultUI(UI): def close_pager(self): if self.console.visible: self.console.focused = True + self.pager.close() self.pager.visible = False self.pager.focused = False self.browser.visible = True @@ -65,6 +66,7 @@ class DefaultUI(UI): def open_pager(self): if self.console.focused: self.console.focused = False + self.pager.open() self.pager.visible = True self.pager.focused = True self.browser.visible = False -- cgit 1.4.1-2-gfad0