about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/defaultui.py2
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