mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Merge 5386cb7f84
into 79eb752552
This commit is contained in:
commit
0d56443ea8
|
@ -158,4 +158,8 @@ impl Filter {
|
|||
self.search_input.remove(current);
|
||||
}
|
||||
}
|
||||
pub fn clear_search(&mut self) {
|
||||
self.search_input.clear();
|
||||
self.input_position = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -726,6 +726,7 @@ impl AppState {
|
|||
.root()
|
||||
.id()];
|
||||
self.selection.select(Some(0));
|
||||
self.filter.clear_search();
|
||||
self.update_items();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user