summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-06 02:05:15 +0200
committerhut <hut@lavabit.com>2010-04-06 02:05:15 +0200
commitc2e158e43c569d2e44806c55f5394d8e202a4edf (patch)
tree277de43cb1285d5282d598cee20d0cb796794af7 /ranger
parent61f1bf71c2175af3c972b3931a707254f38e7728 (diff)
downloadranger-c2e158e43c569d2e44806c55f5394d8e202a4edf.tar.gz
core.actions: go to next tab when closed, not previous
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index b40febc8..480200d5 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -443,7 +443,7 @@ class Actions(EnvironmentAware, SettingsAware):
 			name = self.current_tab
 		if name == self.current_tab:
 			previous = self.current_tab
-			self.tab_move(-1)
+			self.tab_move(1)
 			if previous == self.current_tab:
 				return  # can't close last tab
 		if name in self.tabs: