mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Add the [int] setting type for settings that are a list of integers.
The RegExpValidator (more of a restrictor than a validator) requires the text to start with a '[' and then have a sequence of integers separated by commas. A trailing ']' is accepted.
This commit is contained in:
parent
d288619ebf
commit
db3cf0c0fb
4 changed files with 8 additions and 2 deletions
|
@ -209,6 +209,8 @@ Item {
|
|||
{
|
||||
case "int":
|
||||
return settingTextField
|
||||
case "[int]":
|
||||
return settingTextField
|
||||
case "float":
|
||||
return settingTextField
|
||||
case "enum":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue