🐛 using songModel so we can start to remove more c++ functions

This commit is contained in:
Chris Cochrun 2023-05-18 15:57:05 -05:00
parent 41e22ca133
commit e5a2e063fc

View file

@ -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);