reverting to plaintext fixed the problem

This commit is contained in:
Chris Cochrun 2022-03-23 14:54:04 -05:00
parent 93c94e19db
commit bbdd837b50

View file

@ -180,7 +180,7 @@ Item {
textFormat: TextEdit.PlainText textFormat: TextEdit.PlainText
padding: 10 padding: 10
onEditingFinished: { onEditingFinished: {
updateLyrics(lyricsEditor.getText(0,lyricsEditor.length)); updateLyrics(text);
editorTimer.running = false; editorTimer.running = false;
} }
onPressed: editorTimer.running = true onPressed: editorTimer.running = true
@ -216,12 +216,6 @@ Item {
Layout.rightMargin: 20 Layout.rightMargin: 20
Layout.leftMargin: 20 Layout.leftMargin: 20
} }
Controls.Button {
text: "update lyrics"
onClicked: {
print(lyricsEditor.getText(0,lyricsEditor.length));
}
}
} }
} }
} }
@ -232,7 +226,7 @@ Item {
repeat: true repeat: true
running: false running: false
onTriggered: { onTriggered: {
updateLyrics(lyricsEditor.getText(0,lyricsEditor.length)); updateLyrics(lyricsEditor.text);
} }
} }