fixed video and images loading after changing in toolbar

This commit is contained in:
Chris Cochrun 2022-08-30 17:15:24 -05:00
parent 65f5026ee4
commit d0d66a5d54
2 changed files with 20 additions and 8 deletions

View file

@ -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();
}
}