making songs almost more updatable....
This commit is contained in:
parent
7137cf715d
commit
4fe68236ea
3 changed files with 37 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue