Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.3.0 Beta1
-
None
-
Ubuntu 12.04 LTS 32-bit on VirtualBox 4.3.10
Description
Let the currentIndex property of a ListView be bound to some property X defined on the parent of the ListView. If X is changed outside the ListView, the currentIndex is changed accordingly. So far so good.
Problem arises after currentIndex is changed programmatically inside the list: then currentIndex seems to unbound and new changes on X doesn't reflect on it.
On the attached file a TextBox.text and a ListView.currentIndex properties are bound to an int property (sex) defined on the parent. If, by clicking the button, sex changes, Text.text and the ListView.currentIndex change accordingly. After an option on the ListView is selected, consequent changes on sex by clicking the button are reflected on Text but not on ListView