diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-05-27 19:58:48 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-03 12:54:13 +1000 |
commit | 13326344f092e23d4a54887505c92060377adeb6 (patch) | |
tree | a7e6f0ab69717657f978b25f5cbcc21473fc4837 /pkg/gui/controllers/files_controller.go | |
parent | 84870d45038e206a71aa3160d681a2b9d9827aa9 (diff) |
Support filtering files
Diffstat (limited to 'pkg/gui/controllers/files_controller.go')
-rw-r--r-- | pkg/gui/controllers/files_controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/files_controller.go b/pkg/gui/controllers/files_controller.go index 11d39ee9f..93e52c192 100644 --- a/pkg/gui/controllers/files_controller.go +++ b/pkg/gui/controllers/files_controller.go @@ -658,7 +658,7 @@ func (self *FilesController) handleStatusFilterPressed() error { } func (self *FilesController) setStatusFiltering(filter filetree.FileTreeDisplayFilter) error { - self.context().FileTreeViewModel.SetFilter(filter) + self.context().FileTreeViewModel.SetStatusFilter(filter) return self.c.PostRefreshUpdate(self.context()) } |