[Interest] Tumbler not working
Jason H
jhihn at gmx.com
Wed Nov 9 22:04:27 CET 2016
Simply, using a tumbler, and trying to set it to a value by:
listTumbler.setCurrentIndexAt(0, list.indexOf(value))
does not work.
Initialized as:
property var list: ["A", "B", "C"]
value: "B"
listTumbler has one TumblerColumn child where "model: list"
console.log("listTumbler.setValue",value, list.indexOf(value), list);
outputs:
listTumbler.setValue B 1 [A,B,C]
But the UI never updates, and internally, the value never updates either.
What am I doing wrong?
(Demo attached)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTestTumbler.zip
Type: application/zip
Size: 5693 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161109/4b001430/attachment.zip>
More information about the Interest
mailing list