about summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-13 12:40:19 +0200
committerhut <hut@lavabit.com>2010-04-13 12:40:19 +0200
commit876261b73081d9723b082a8f2798f76e3122e867 (patch)
treeffead2a4a712f4ddf97fe83a0bf4d3aa8f1a2302 /ranger/core/actions.py
parent01e4ea98c12a28362968a8b23483d260755838e5 (diff)
downloadranger-876261b73081d9723b082a8f2798f76e3122e867.tar.gz
Don't use tab 0 by default
Conflicts:

	ranger/defaults/keys.py
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 5daa383e..9bef8bdc 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -483,8 +483,7 @@ class Actions(EnvironmentAware, SettingsAware):
 			self.tab_open(newtab)
 
 	def tab_new(self):
-		for i in range(10):
-			i = (i + 1) % 10
+		for i in range(1, 10):
 			if not i in self.tabs:
 				self.tab_open(i)
 				break