mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 02:43:15 +08:00
Add max length to machine name textbox
CURA-6435
This commit is contained in:
parent
325e60d821
commit
96e10ee00c
@ -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…
x
Reference in New Issue
Block a user