diff options
-rw-r--r-- | ranger/container/directory.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/container/directory.py b/ranger/container/directory.py index 7d39daaf..6a8bd9ea 100644 --- a/ranger/container/directory.py +++ b/ranger/container/directory.py @@ -206,6 +206,9 @@ class Directory(FileSystemObject, Accumulator, Loadable): filters = [(lambda file: not hidden_filter.search(file.basename)) if hidden_filter else None, (lambda file: self.filter.search(file.basename)) if self.filter else None, self.inode_type_filter] + + if self.temporary_filter: + filters.append(lambda file: self.temporary_filter.search(file.basename)) self.files = [f for f in self.files_all if accept_file(f, filters)] self.move_to_obj(self.pointed_obj) |