bug: fixing video issues between qml and rust

This commit is contained in:
Chris Cochrun 2023-05-17 16:38:40 -05:00
parent 82466ee6fc
commit bb9fc3fd86
2 changed files with 8 additions and 5 deletions

View file

@ -370,9 +370,12 @@ mod video_model {
.filter(|x| x.id == index)
{
video.title = updated_title.clone();
println!("rust-title: {:?}", video.title);
}
// TODO this seems to not be updating in the actual list
self.as_mut()
.emit_data_changed(model_index, model_index, &vector_roles);
// self.as_mut().emit_title_changed();
println!("rust-title: {:?}", updated_title);
true
}