mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Reset query after library changes
This commit is contained in:
parent
d7401195b3
commit
510061b3b0
2 changed files with 67 additions and 3 deletions
|
|
@ -102,6 +102,11 @@ mod imp {
|
|||
obj.query(&entry.query());
|
||||
});
|
||||
|
||||
let obj = self.obj().to_owned();
|
||||
self.library.get().unwrap().connect_changed(move |_| {
|
||||
obj.imp().search_entry.reset();
|
||||
});
|
||||
|
||||
self.player
|
||||
.get()
|
||||
.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue