From bac52666c8c28eb9021fafc6e568807c0030ec7a Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 24 Feb 2023 14:54:30 -0600 Subject: [PATCH] proof of concept for getting the item from the appropriate place --- src/qml/presenter/ServiceList.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/qml/presenter/ServiceList.qml b/src/qml/presenter/ServiceList.qml index 825eba8..df28d7d 100644 --- a/src/qml/presenter/ServiceList.qml +++ b/src/qml/presenter/ServiceList.qml @@ -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; }