diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |