> -----Original Message----- > From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] > On Behalf Of Jason H > Sent: Wednesday, 9 November 2016 10:04 PM > To: Qt Interest <interest@qt-project.org> > Subject: [Interest] Tumbler not working > > 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)
Please submit a bug report and I'll take a look into it. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest