fixing getSong not working after deleting songs

This commit is contained in:
Chris Cochrun 2022-09-29 05:58:06 -05:00
parent 8b6e5e2ad3
commit 4d9236e02c
3 changed files with 31 additions and 6 deletions

View file

@ -320,6 +320,7 @@ Item {
function changeSong(index) {
clearSlides();
print(index);
const s = songsqlmodel.getSong(index);
song = s;
songLyrics = s.lyrics;