diff options
-rw-r--r-- | ranger/defaults/commands.py | 4 | ||||
-rw-r--r-- | ranger/gui/widgets/console.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index ac18faae..241e66df 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -87,7 +87,7 @@ class cd(Command): def tab(self): return self._tab_only_directories() - def quick_open(self): + def quick(self): from os.path import isdir, join, normpath line = parse(self.line) cwd = self.fm.env.cwd.path @@ -128,7 +128,7 @@ class find(Command): self.fm.move(right=1) self.fm.block_input(0.5) - def quick_open(self): + def quick(self): self._search() if self.count == 1: return True diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py index 36090bb5..c18e7f50 100644 --- a/ranger/gui/widgets/console.py +++ b/ranger/gui/widgets/console.py @@ -380,7 +380,7 @@ class QuickCommandConsole(CommandConsole): pass else: cmd = cls(self.line, self.mode) - if cmd and cmd.quick_open(): + if cmd and cmd.quick(): self.execute(cmd) |