Introduce error handling

This commit is contained in:
Reinout Meliesie 2024-11-29 21:06:14 +01:00
parent 5d9893d304
commit 32c1d2ab67
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
4 changed files with 54 additions and 7 deletions

View file

@ -48,6 +48,8 @@ impl UI {
pub fn show_window ( & self ) { self . window . set_visible (true) }
pub fn close_window ( & self ) { self . window . close () }
pub fn render_collection ( & self , collection : Collection ) {
self . films_component . set_films ( collection . films ) ;
self . series_component . set_series ( collection . series ) ;