mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Merge 5386cb7f84
into e3688e9b3d
This commit is contained in:
commit
f8b2155b9e
|
@ -164,4 +164,8 @@ impl Filter {
|
|||
self.search_input.remove(current);
|
||||
}
|
||||
}
|
||||
pub fn clear_search(&mut self) {
|
||||
self.search_input.clear();
|
||||
self.input_position = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -729,6 +729,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