From e5a2e063fc98e4244b2d990a1fe60319e3afb4e3 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 18 May 2023 15:57:05 -0500 Subject: [PATCH] :bug: using songModel so we can start to remove more c++ functions --- 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..518b445 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.songMode.getItem(index); console.log(song.lyrics); songIndex = song.id; console.log(song.id);