fixed video and images loading after changing in toolbar
This commit is contained in:
parent
65f5026ee4
commit
d0d66a5d54
2 changed files with 20 additions and 8 deletions
|
@ -328,8 +328,8 @@ Item {
|
|||
}
|
||||
|
||||
function updateBackground(background, backgroundType) {
|
||||
song.background = background;
|
||||
song.backgroundType = backgroundType;
|
||||
song.background = background;
|
||||
songsqlmodel.updateBackground(songIndex, background);
|
||||
songsqlmodel.updateBackgroundType(songIndex, backgroundType);
|
||||
print("changed background");
|
||||
|
@ -341,6 +341,7 @@ Item {
|
|||
//todo
|
||||
slideEditor.imageBackground = "";
|
||||
slideEditor.videoBackground = background;
|
||||
slideEditor.loadVideo();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue