mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Add handling for ValidatorState.Invalid
CURA-6497 ValidatorState.Invalid is set if a string setting has allow_empty = False and its value is empty.
This commit is contained in:
parent
111430c9c2
commit
2054413952
3 changed files with 4 additions and 2 deletions
|
@ -42,6 +42,7 @@ SettingItem
|
|||
}
|
||||
switch(propertyProvider.properties.validationState)
|
||||
{
|
||||
case "ValidatorState.Invalid":
|
||||
case "ValidatorState.Exception":
|
||||
case "ValidatorState.MinimumError":
|
||||
case "ValidatorState.MaximumError":
|
||||
|
@ -65,6 +66,7 @@ SettingItem
|
|||
}
|
||||
switch(propertyProvider.properties.validationState)
|
||||
{
|
||||
case "ValidatorState.Invalid":
|
||||
case "ValidatorState.Exception":
|
||||
case "ValidatorState.MinimumError":
|
||||
case "ValidatorState.MaximumError":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue