mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Fix search bug
This commit is contained in:
parent
3c83452573
commit
f4a91acffa
2 changed files with 16 additions and 6 deletions
|
|
@ -141,6 +141,7 @@ impl MusicusSearchEntry {
|
|||
}
|
||||
|
||||
self.imp().text.set_text("");
|
||||
self.emit_by_name::<()>("query-changed", &[]);
|
||||
}
|
||||
|
||||
pub fn add_tag(&self, tag: Tag) {
|
||||
|
|
@ -148,6 +149,7 @@ impl MusicusSearchEntry {
|
|||
let tag = MusicusSearchTag::new(tag);
|
||||
self.imp().tags_box.append(&tag);
|
||||
self.imp().tags.borrow_mut().push(tag);
|
||||
self.emit_by_name::<()>("query-changed", &[]);
|
||||
}
|
||||
|
||||
pub fn query(&self) -> LibraryQuery {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue