bug: fixing video issues between qml and rust
This commit is contained in:
parent
82466ee6fc
commit
bb9fc3fd86
2 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue