Set combo-boxes correctly when reading transponder code from property tree.
This commit is contained in:
parent
671c23afdc
commit
ec977e4eca
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
{
|
||||
for (var i = 0; i < 4 ; i = i+1)
|
||||
{
|
||||
setprop("/instrumentation/transponder/inputs/digit[" ~ i ~ "]", math.mod(idcode/poweroften[i], 10) );
|
||||
setprop("/instrumentation/transponder/inputs/digit[" ~ i ~ "]", sprintf("%1d", math.mod(idcode/poweroften[i], 10)) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue