Limit display name setting to 255 bytes

This commit is contained in:
miruka 2020-03-13 12:18:31 -04:00
parent 5d7aa0b142
commit 8d6fcf5c88

View File

@ -155,6 +155,7 @@ HGridLayout {
id: nameField id: nameField
label.text: qsTr("Display name:") label.text: qsTr("Display name:")
field.maximumLength: 255
field.onAccepted: applyChanges() field.onAccepted: applyChanges()
Component.onCompleted: field.text = accountInfo.display_name Component.onCompleted: field.text = accountInfo.display_name