summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-01-10 03:52:36 +0100
committerhut <hut@lavabit.com>2013-01-10 03:53:10 +0100
commitabb9e4e9e8315c0a47c8337a3b3105acce4842ff (patch)
tree04a4616c7bb45d6f440ad2975dd20bf34880e329
parentf30f732d8833a784106090555b57526cc32ab709 (diff)
downloadranger-abb9e4e9e8315c0a47c8337a3b3105acce4842ff.tar.gz
config.command: fix default answers for :delete
"y" shouldn't be the first answer because Enter would use "y" even
though it should use "n"
-rw-r--r--ranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index c4192d0d..330920cf 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -519,7 +519,7 @@ class delete(Command):
 		if confirm != 'never' and (confirm != 'multiple' or many_files):
 			self.fm.ui.console.ask("Confirm deletion of: %s (y/N)" %
 				', '.join(f.basename for f in self.fm.thistab.get_selection()),
-				self._question_callback, ('y', 'n', 'Y', 'N'))
+				self._question_callback, ('n', 'N', 'y', 'Y'))
 		else:
 			# no need for a confirmation, just delete
 			self.fm.delete()