Introduce error handling
This commit is contained in:
parent
5d9893d304
commit
32c1d2ab67
4 changed files with 54 additions and 7 deletions
|
@ -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 ) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue