fix: trigger UI redraw after fetching artist data in separate thread

fixes #91
This commit is contained in:
Henrik Friedrichsen
2019-09-08 21:11:59 +02:00
parent b7a6903908
commit 498724e2a4
2 changed files with 8 additions and 0 deletions

View File

@@ -749,4 +749,8 @@ impl Library {
self.save_cache(config::cache_path(CACHE_PLAYLISTS), self.playlists.clone());
}
pub fn trigger_redraw(&self) {
self.ev.trigger();
}
}