I've noticed that if the model changes you can't depend on index except if you
cache it, so something like this *should* work:
onClicked: {
var idx = index;
console.log("selected: " + modelData)
console.log("selected: " + idx)
}
On Friday 03 January 2014 21:21 Andrey Kozhevnikov wro
I solved it. If context menu length > 6 it becomes dialog, and after
choosing dialog item fired only onItemChanged signal, not
onIndexChanged. With short combobox everything fine :)
You can mark it as found bug ;)
On 05.01.2014 18:15, Oleksii Serdiuk wrote:
Did you try using `model.index` ins
Did you try using `model.index` instead of just `index`?
Are you sure that onClicked signal in MenuItem gets fired?
On 03.01.2014 16:21, Andrey Kozhevnikov wrote:
Hello
I can't get context menu index if using repeater inside
ComboBox {
id: languageCombo