mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-04-21 03:14:59 +01:00
Merge 5386cb7f84b613b486cfbb54d39d50f30e78dc67 into e3688e9b3d2f3594bf2367af87a800db9e2f1bbd
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…
x
Reference in New Issue
Block a user