summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/actions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 62b55b81..597e2699 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -182,7 +182,10 @@ class Actions(EnvironmentAware, SettingsAware):
 			return
 
 		pager = self.ui.open_pager()
-		pager.set_source(self.log)
+		if self.log:
+			pager.set_source(["Message Log:"] + list(self.log))
+		else:
+			pager.set_source(["Message Log:", "No messages!"])
 	
 	def display_file(self):
 		if not hasattr(self.ui, 'open_embedded_pager'):