diff options
| author | lukeflo | 2024-10-06 13:29:51 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-12 22:41:38 +0200 |
| commit | 7acb8e72a050402cbd53f74ae15e2fa6661c9fa6 (patch) | |
| tree | 84456c368cf7e6198eacb4c7efeef052c7da854c /src/frontend/app.rs | |
| parent | 7369dace2c2584b0302b79eaf15f1945a9dc6e20 (diff) | |
| download | bibiman-7acb8e72a050402cbd53f74ae15e2fa6661c9fa6.tar.gz bibiman-7acb8e72a050402cbd53f74ae15e2fa6661c9fa6.zip | |
fix error in nested search, update vhs gif
Diffstat (limited to 'src/frontend/app.rs')
| -rw-r--r-- | src/frontend/app.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontend/app.rs b/src/frontend/app.rs index 00c1b45..0751da1 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -211,7 +211,10 @@ impl App { self.current_area = CurrentArea::TagArea; self.tag_list.tag_list_state.select(Some(0)) } - self.reset_current_list(); + // But keep filtering by tag if applied before entering search area + if !self.search_struct.inner_search { + self.reset_current_list(); + } self.former_area = None; // If search is canceled, reset default status of struct self.search_struct.search_string.clear(); |
