summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-06 03:36:45 +0200
committerhut <hut@lavabit.com>2010-10-06 03:36:45 +0200
commit34fa7e334f559768be8fd094141a2e716d879807 (patch)
treef5575853d37328ec0d6b599ffbbe0face6438073 /ranger
parent56570c32f2e18b86d453b0df4b583d12e9223729 (diff)
downloadranger-34fa7e334f559768be8fd094141a2e716d879807.tar.gz
gui.widgets.statusbar: Fixed minor bug in statusbar
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/statusbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 2a92f313..4b8a730e 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -241,7 +241,7 @@ class StatusBar(Widget):
 					+ str(len(target.files)) + '  ', base)
 			if max_pos == 0:
 				right.add('All', base, 'all')
-			if pos == 0:
+			elif pos == 0:
 				right.add('Top', base, 'top')
 			elif pos >= max_pos:
 				right.add('Bot', base, 'bot')