Tweaking verse_order in the songEditor.qml so it shows up

This commit is contained in:
Chris Cochrun 2023-10-11 09:35:24 -05:00
parent b83c8a7984
commit d82a0ac503
2 changed files with 10 additions and 6 deletions

View file

@ -297,7 +297,7 @@ Item {
Layout.rightMargin: 20
placeholderText: "verse order..."
text: song.vorder
text: song.verseOrder
padding: 10
onEditingFinished: updateVerseOrder(text);
background: Presenter.TextBackground {
@ -447,6 +447,10 @@ Item {
id: songList
imageBackground: songEditorModel.backgroundType === "image" ? songEditor.background : ""
videoBackground: songEditorModel.backgroundType === "video" ? songEditor.background : ""
font: songEditorModel.font
fontSize: songEditorModel.fontSize
/* hTextAlignment: songEditorModel.horizontalTextAlignment */
/* vTextAlignment: songEditorModel.verticalTextAlignment */
Layout.preferredWidth: 500
Layout.fillWidth: true
Layout.fillHeight: true
@ -554,9 +558,9 @@ Item {
}
function updateVerseOrder(vorder) {
songProxyModel.songModel.updateVerseOrder(songIndex, vorder)
songEditorModel.verseOrder = vorder;
songEditorModel.checkVerseOrder();
songProxyModel.songModel.updateVerseOrder(songIndex, vorder)
}
function updateAudioFile() {