Fix display of integer 0 in ChoiceSetting

This commit is contained in:
Anton Thomasson 2021-07-09 19:41:21 +02:00
parent 47a032a84d
commit 68b7afff5e

View file

@ -13,7 +13,7 @@ Setting {
property int num_large_choices: 8
displayValue: Utils.ippName(name, choice ? choice : default_choice)
displayValue: Utils.ippName(name, choice != undefined ? choice : default_choice)
onClicked: {
if(limited_choices.length>num_large_choices)