From bbc5bf3d7cded27e28cc4f18c216d026f1187489 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 19 May 2023 09:54:07 -0500 Subject: [PATCH] :bug: QVariantMap still seems to not work... --- src/qml/presenter/SongEditor.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/presenter/SongEditor.qml b/src/qml/presenter/SongEditor.qml index 7d75979..bd59a81 100644 --- a/src/qml/presenter/SongEditor.qml +++ b/src/qml/presenter/SongEditor.qml @@ -411,7 +411,7 @@ Item { function newSong(index) { clearSlides(); - song = songProxyModel.getSong(index); + song = songProxyModel.songModel.getItem(index); console.log(song.lyrics); songIndex = song.id; @@ -435,7 +435,7 @@ Item { function changeSong(index) { clearSlides(); console.log(index); - song = songProxyModel.getSong(index); + song = songProxyModel.songModel.getItem(index); console.log(song.lyrics); songIndex = song.id; console.log(song.id);