reverting to plaintext fixed the problem
This commit is contained in:
parent
93c94e19db
commit
bbdd837b50
1 changed files with 2 additions and 8 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue