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") {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue