1
0
Fork 0

Set combo-boxes correctly when reading transponder code from property tree.

This commit is contained in:
Sebastian Dietrich 2016-04-10 00:08:51 +02:00
parent 671c23afdc
commit ec977e4eca

View file

@ -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)) );
}
}