diff options
author | hut <hut@lavabit.com> | 2013-03-09 20:33:38 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-03-09 20:33:54 +0100 |
commit | d51f8d5a3f1b4addaff34ccffb2291b136117627 (patch) | |
tree | ecc04257024664ad6656fa546e0cbc1e3a415b7e /ranger/config/commands.py | |
parent | a78f5a7898805f83fcb61d0d72c931cc87cfc17e (diff) | |
download | ranger-d51f8d5a3f1b4addaff34ccffb2291b136117627.tar.gz |
config/commands.py: faster filtering
Diffstat (limited to 'ranger/config/commands.py')
-rw-r--r-- | ranger/config/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 8d670731..f80d1838 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1027,7 +1027,7 @@ class scout(Command): def cancel(self): self.fm.thisdir.temporary_filter = None - self.fm.thisdir.load_content(schedule=False) + self.fm.thisdir.refilter() def quick(self): asyoutype = self.AS_YOU_TYPE in self.flags @@ -1036,7 +1036,7 @@ class scout(Command): if self.PERM_FILTER in self.flags and asyoutype: self.fm.thisdir.filter = self._build_regex() if self.FILTER in self.flags or self.PERM_FILTER in self.flags: - self.fm.thisdir.load_content(schedule=False) + self.fm.thisdir.refilter() if self._count(move=asyoutype) == 1 and self.AUTO_OPEN in self.flags: return True return False |