diff options
author | hut <hut@lavabit.com> | 2010-04-13 12:37:36 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-13 12:37:55 +0200 |
commit | bec7df57bbf04c8798328cd3b45db2d6c9e54f95 (patch) | |
tree | cffb1bdfe7164e8e162eba3c461e0c595420990f /ranger/core/actions.py | |
parent | 62e5fdf30596c76e4b9551964e5af8ea21c9741c (diff) | |
download | ranger-bec7df57bbf04c8798328cd3b45db2d6c9e54f95.tar.gz |
Don't use tab 0 by default
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index a07b4ae0..ac6cfc95 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -521,8 +521,7 @@ class Actions(FileManagerAware, 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 |