summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-09 12:30:34 +0200
committerhut <hut@lavabit.com>2010-06-09 12:30:34 +0200
commite8bab380f4fd5678975659f0535b6485413abed4 (patch)
tree5b71002a4720c4590aaba4103270f2b886eaa1b0
parentedf3d9f8dc470128fc9047b16d89881d5269944e (diff)
downloadranger-e8bab380f4fd5678975659f0535b6485413abed4.tar.gz
minor changes
-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: