making songs almost more updatable....

This commit is contained in:
Chris Cochrun 2025-02-27 11:57:58 -06:00
parent 7137cf715d
commit 4fe68236ea
3 changed files with 37 additions and 2 deletions

View file

@ -156,9 +156,9 @@ impl SongEditor {
Task::none()
}
Message::ChangeTitle(title) => {
debug!(title);
self.title = title.clone();
if let Some(mut song) = self.song.clone() {
debug!(title);
song.title = title;
self.update(Message::UpdateSong(song))
} else {