proof of concept for getting the item from the appropriate place
This commit is contained in:
parent
1809196148
commit
bac52666c8
1 changed files with 5 additions and 4 deletions
|
@ -545,10 +545,11 @@ Item {
|
|||
if (type === "song") {
|
||||
const newtext = songProxyModel.songModel.getLyricList(itemID);
|
||||
console.log("adding: " + name + " of type " + type + " with " + newtext.length + " slides");
|
||||
ServiceItemModel.insertItem(index, name,
|
||||
type, background,
|
||||
backgroundType, newtext,
|
||||
audio, font, fontSize, newtext.length);
|
||||
const song = SongProxyModel.getSong(itemID);
|
||||
ServiceItemModel.insertItem(index, song.name,
|
||||
type, song.background,
|
||||
song.backgroundType, newtext,
|
||||
song.audio, song.font, song.fontSize, newtext.length);
|
||||
/* totalServiceItems++; */
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue