diff --git a/src/rust/song_model.rs b/src/rust/song_model.rs index 3d0e0ac..d079e39 100644 --- a/src/rust/song_model.rs +++ b/src/rust/song_model.rs @@ -66,6 +66,7 @@ mod song_model { }, TitleChanged {}, FontSizeChanged {}, + BackgroundChanged {}, } enum Role { @@ -536,11 +537,13 @@ mod song_model { { song.background = updated_background.to_string(); + println!("change: updated_background: {:?} model_index: {:?} roles: {:?}", updated_background, model_index, vector_roles.get(0)); self.as_mut().emit_data_changed( model_index, model_index, &vector_roles, ); + self.as_mut().emit_background_changed(); true } else { false