switching to right model

This commit is contained in:
Chris Cochrun 2023-02-23 14:55:31 -06:00
parent 3d5e131ad5
commit 571d74306d

View file

@ -543,7 +543,7 @@ Item {
background, backgroundType, text, audio,
font, fontSize, itemID) {
if (type === "song") {
const newtext = songsqlmodel.getLyricList(itemID);
const newtext = songProxyModel.songModel.getLyricList(itemID);
console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
ServiceItemModel.insertItem(index, name,
type, background,
@ -574,7 +574,7 @@ Item {
console.log("adding: " + name + " of type " + type);
if (type === "song") {
console.log("THIS IS A SONG!!!!!");
let lyrics = songsqlmodel.getLyricList(itemID);
let lyrics = songProxyModel.songModel.getLyricList(itemID);
console.log(lyrics);
ServiceItemModel.addItem(name, type, background,
backgroundType, lyrics,