Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to force listview to draw all items?
lichti last edited by
My problem is following:
if the model contains only one item every thing is working well - but after adding one more and updating the model listview1 is only creating one item but listview2 creates both and the second can't find itself in the js-array.
If I set the currentIndex of listview1 to 1 ( the second item) the delegate creates the item.
Can give anybody an idea how I can force the listview to draw all items?
Thanks in advance.