summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/__main__.py2
-rw-r--r--ranger/gui/widgets/taskview.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py
index 2164c045..ff5cdc4d 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -215,7 +215,7 @@ def main():
 		if crash_traceback:
 			print(crash_traceback)
 			print("Ranger crashed.  " \
-					"Please report it (including the traceback) at:")
+					"Please report this (including the traceback) at:")
 			print("http://savannah.nongnu.org/bugs/?group=ranger&func=additem")
 
 
diff --git a/ranger/gui/widgets/taskview.py b/ranger/gui/widgets/taskview.py
index 475b903c..e988b08c 100644
--- a/ranger/gui/widgets/taskview.py
+++ b/ranger/gui/widgets/taskview.py
@@ -86,7 +86,8 @@ class TaskView(Widget, Accumulator):
 		if i is None:
 			i = self.pointer
 
-		self.fm.loader.remove(index=i)
+		if self.fm.loader.queue:
+			self.fm.loader.remove(index=i)
 
 	def task_move(self, to, i=None):
 		if i is None: