Make integer choices with 0 show up

This commit is contained in:
Anton Thomasson 2021-07-31 12:36:04 +02:00
parent 6eb71b7ae6
commit b5b15236f8

View file

@ -7,7 +7,7 @@ Setting {
property bool suppressChange: false property bool suppressChange: false
displayValue: choice ? choice : default_choice displayValue: choice != undefined ? choice : default_choice
onChoiceChanged: { onChoiceChanged: {
if(choice == undefined) if(choice == undefined)