Wire up the callbacks to the client.

This commit is contained in:
Jordan Petridis
2018-01-05 23:57:48 +02:00
parent 13ba2762ad
commit da459707be
2 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ fn on_download_clicked(
let download_fold = downloader::get_download_folder(&pd_title).unwrap();
{
let man = DOWNLOADS_MANAGER.lock().unwrap();
man.add(ep.rowid(), &download_fold);
man.add(ep.rowid(), &download_fold, sender.clone());
}
sender.send(Action::RefreshEpisodesViewBGR).unwrap();
}