diff options
author | hut <hut@lavabit.com> | 2010-01-05 06:16:35 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-05 06:16:35 +0100 |
commit | 491a5312cc73da810161f014c5c8bb26ec910b18 (patch) | |
tree | cd84d8aaa9bdd1d3fdddd399ef38d793e5c85956 /ranger | |
parent | 535a9bd1091a14ed817a3b5663264d225e1d794d (diff) | |
download | ranger-491a5312cc73da810161f014c5c8bb26ec910b18.tar.gz |
pager: open and close it properly
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/defaultui.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |