Hi,
I have a little problem. I’m using a ListView with a QAbstractItemModel. In the delegate I want to use a TextArea to edit the model data.
TextArea {
text: model.text
onTextChanged: model.text = text
}
But the onTextChanged signal gets emitted, befor the TextArea gets filled with the model data. This clears all initial data in the model for the text role.
Has anyone an idea, how to first load the model data and the connect the onTextChanged signal?
↧