Add max length to machine name textbox

CURA-6435
This commit is contained in:
Lipu Fei 2019-04-17 08:25:30 +02:00
parent 325e60d821
commit 96e10ee00c

View file

@ -213,6 +213,7 @@ Item
anchors.verticalCenter: parent.verticalCenter
width: (parent.width / 2) | 0
placeholderText: catalog.i18nc("@text", "Please give your printer a name")
maximumLength: 40
// Make sure that the fill is not empty
validator: RegExpValidator { regExp: /.+/ }