proof of concept for getting the item from the appropriate place

This commit is contained in:
Chris Cochrun 2023-02-24 14:54:30 -06:00
parent 1809196148
commit bac52666c8

View file

@ -545,10 +545,11 @@ Item {
if (type === "song") { if (type === "song") {
const newtext = songProxyModel.songModel.getLyricList(itemID); const newtext = songProxyModel.songModel.getLyricList(itemID);
console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides"); console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
ServiceItemModel.insertItem(index, name, const song = SongProxyModel.getSong(itemID);
type, background, ServiceItemModel.insertItem(index, song.name,
backgroundType, newtext, type, song.background,
audio, font, fontSize, newtext.length); song.backgroundType, newtext,
song.audio, song.font, song.fontSize, newtext.length);
/* totalServiceItems++; */ /* totalServiceItems++; */
return; return;
} }