qml advanced options: do not render HTML when displaying username

QML text labels by default support a small subset of HTML
formatting (e.g. <b> and <a href>)
Disable this.

Closes #564
This commit is contained in:
Floris Bos 2023-03-10 15:50:27 +01:00
parent d972d5b87b
commit ebaf2ef6a1

View file

@ -191,6 +191,7 @@ Popup {
Text { Text {
text: qsTr("Set authorized_keys for '%1':").arg(fieldUserName.text) text: qsTr("Set authorized_keys for '%1':").arg(fieldUserName.text)
color: parent.enabled ? "black" : "grey" color: parent.enabled ? "black" : "grey"
textFormat: Text.PlainText
} }
TextField { TextField {
id: fieldPublicKey id: fieldPublicKey