removing some cruft

This commit is contained in:
Chris Cochrun 2024-09-17 10:07:36 -05:00
parent 50fc745335
commit e0bcce3f72
2 changed files with 6 additions and 26 deletions

View file

@ -497,31 +497,19 @@ Item {
clearSlides();
const updatedSong = songModel.getItem(index);
Utils.dbg(updatedSong.vorder + " " + updatedSong.title + " " + updatedSong.audio);
/* songEditorModel.title = updatedSong.title; */
/* songEditorModel.lyrics = updatedSong.lyrics; */
/* songEditorModel.author = updatedSong.author; */
/* songEditorModel.ccli = updatedSong.ccli; */
/* songEditorModel.audio = updatedSong.audio; */
/* songEditorModel.verseOrder = updatedSong.vorder; */
/* songEditorModel.background = updatedSong.background; */
/* songEditorModel.backgroundType = updatedSong.backgroundType; */
/* songEditorModel.horizontalTextAlignment = updatedSong.horizontalTextAlignment; */
/* songEditorModel.verticalTextAlignment = updatedSong.verticalTextAlignment; */
/* songEditorModel.font = updatedSong.font; */
/* songEditorModel.fontSize = updatedSong.fontSize; */
songEditorModel.loadSong(index);
songEditorModel.checkVerseOrder();
songEditorModel.checkFiles();
songID = updatedSong.id;
changeSlideHAlignment(song.horizontalTextAlignment);
changeSlideVAlignment(song.verticalTextAlignment);
changeSlideFont(song.font, true);
changeSlideFontSize(song.fontSize, true)
changeSlideHAlignment(songEditorModel.horizontalTextAlignment);
changeSlideVAlignment(songEditorModel.verticalTextAlignment);
changeSlideFont(songEditorModel.font, true);
changeSlideFontSize(songEditorModel.fontSize, true)
changeSlideText(index);
Utils.dbg("Changing to song: " + song.title + " with ID: " + songID);
Utils.dbg("Changing to song: " + songEditorModel.title + " with ID: " + songID);
footerFirstText = "Song: ";
footerSecondText = song.title;
footerSecondText = songEditorModel.title;
songList.loadVideo();
}