Hi All,
I have the below code...
ListModel { id: opModel }
ListView {
id: operations
width: parent.width
anchors { bottom: resultRect.top, top: headerAndExit.bottom }
model: opModel
delegate:listViewRow
onCountChanged: { positionViewAtIndex(count-1,ListView.End) }
}
Some where below in the code, I append a new item to the model when I get
particular signal from C++ code :
opModel.append({"operation":basicCalc.opData}) // this gets called well.
The list scrolls to show the item inserted. But for every alternative
inserts, ListView goes blank, and If I touch on the ListView, items
displayed again.
Any help is appreciated.
Thanks,
_Reddy
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml