Re: [SailfishDevel] ComboBox issue (initialization)

2014-09-10 Thread François K .
Hi ! - Mail original - > Hello. You need to set currentIndex after your model data > initialized, > not object. You can initialize at onCountChanged or make special > signal > from signal and listen it. Thanks a lot Andrey, that solved my problem. I think I need some doc about that kind

Re: [SailfishDevel] ComboBox issue (initialization)

2014-09-09 Thread Andrey Kozhevnikov
Hello. You need to set currentIndex after your model data initialized, not object. You can initialize at onCountChanged or make special signal from signal and listen it. 09.09.2014 19:07, François K. пишет: Hi :) I have a ComboBox issue ! The ComboBox I want to use is made of dynamic items.

[SailfishDevel] ComboBox issue (initialization)

2014-09-09 Thread François K .
Hi :) I have a ComboBox issue ! The ComboBox I want to use is made of dynamic items. I build it with a ListModel and a Repeater as follow : ComboBox { id: project label: qsTr("Project") menu: ContextMenu { MenuItem { text: qsTr("Not set") } Repeater { m