mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Add max length to machine name textbox
CURA-6435
This commit is contained in:
parent
325e60d821
commit
96e10ee00c
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ Item
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: (parent.width / 2) | 0
|
width: (parent.width / 2) | 0
|
||||||
placeholderText: catalog.i18nc("@text", "Please give your printer a name")
|
placeholderText: catalog.i18nc("@text", "Please give your printer a name")
|
||||||
|
maximumLength: 40
|
||||||
|
|
||||||
// Make sure that the fill is not empty
|
// Make sure that the fill is not empty
|
||||||
validator: RegExpValidator { regExp: /.+/ }
|
validator: RegExpValidator { regExp: /.+/ }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue