diff options
Diffstat (limited to 'src/app/tab.rs')
-rw-r--r-- | src/app/tab.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/tab.rs b/src/app/tab.rs index ffa887a..cbc90dd 100644 --- a/src/app/tab.rs +++ b/src/app/tab.rs @@ -51,6 +51,10 @@ impl TabSettings { self.filter = filter } + pub fn reset_filter(&mut self) { + self.filter = FilterKind::All; + } + /// Update the kind of sort from a char typed by the user. fn update_sort_from_char(&mut self, c: char) { self.sort_kind.update_from_char(c) |