diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 7c996895..69fbf32f 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -539,8 +539,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): pos, selected = direction.select( override=narg, lst=cwd.files, current=cwd.pointer, pagesize=self.env.termsize[0], offset=offset) - self.env.cwd.pointer = pos - self.env.cwd.correct_pointer() + cwd.pointer = pos + cwd.correct_pointer() self.env.copy = set(selected) self.env.cut = False self.ui.browser.main_column.request_redraw() |