Limit max device name length to 255
This commit is contained in:
parent
ee5675bc9b
commit
308771f0bf
|
@ -84,6 +84,7 @@ HTile {
|
||||||
HTextField {
|
HTextField {
|
||||||
id: nameField
|
id: nameField
|
||||||
defaultText: model.display_name
|
defaultText: model.display_name
|
||||||
|
maximumLength: 255
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
onAccepted: renameDeviceRequest(text)
|
onAccepted: renameDeviceRequest(text)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user