Limit max device name length to 255

This commit is contained in:
miruka 2020-06-25 12:37:05 -04:00
parent ee5675bc9b
commit 308771f0bf

View File

@ -84,6 +84,7 @@ HTile {
HTextField {
id: nameField
defaultText: model.display_name
maximumLength: 255
horizontalAlignment: Qt.AlignHCenter
onAccepted: renameDeviceRequest(text)