Make integer choices with 0 show up
This commit is contained in:
parent
6eb71b7ae6
commit
b5b15236f8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue