summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-23 06:33:38 +0100
committerhut <hut@lavabit.com>2010-01-23 06:33:38 +0100
commitfb8ee36af09461b09146137c5195c479a7d7fbcd (patch)
treee874b956ba5dba531dcc5d685d3e0335e103d876
parentd994d0d63a327a944a5e78dc824e46da77af345e (diff)
downloadranger-fb8ee36af09461b09146137c5195c479a7d7fbcd.tar.gz
actions: allow using n and N from the start
-rw-r--r--ranger/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 74946885..f773a79b 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -55,7 +55,7 @@ class Actions(EnvironmentAware, SettingsAware):
 
 		elif order in ('size', 'mimetype', 'ctime'):
 			pwd = self.env.pwd
-			if original_order is not None:
+			if original_order is not None or not pwd.cycle_list:
 				lst = list(pwd.files)
 				if order == 'size':
 					fnc = lambda item: -item.size