From 7c33d7792efa6c4a1e56310c18ff04a721a2ea50 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 19 Apr 2011 18:12:05 +0200 Subject: use lazy_property for Directory.size/infostring for more passive and faster loading of directories --- ranger/core/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ranger/core/actions.py') diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 4ea4cfbf..89bd9389 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -206,7 +206,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if not self.env.enter_dir(cf) and selection: if self.execute_file(selection, mode=mode) is False: self.open_console('open_with ') - elif direction.vertical(): + elif direction.vertical() and cwd.files: newpos = direction.move( direction=direction.down(), override=narg, -- cgit 1.4.1-2-gfad0