using song_model now
This commit is contained in:
parent
68b30877ed
commit
184ad4fe57
4 changed files with 76 additions and 19 deletions
|
@ -435,7 +435,7 @@ Item {
|
|||
function changeSong(index) {
|
||||
clearSlides();
|
||||
console.log(index);
|
||||
song = songProxyModel.songModel.getSong(index);
|
||||
song = songProxyModel.getSong(index);
|
||||
console.log(song.lyrics);
|
||||
songIndex = song.id;
|
||||
|
||||
|
@ -581,7 +581,7 @@ Item {
|
|||
|
||||
function changeSlideText(id) {
|
||||
/* console.log("Here are the verses: " + verses); */
|
||||
const verses = songProxyModel.songModel.getLyricList(id);
|
||||
const verses = songProxyModel.getLyricList(id);
|
||||
verses.forEach(slideEditor.appendVerse);
|
||||
/* slideEditor.loadVideo(); */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue