Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Add QStandartItem with childrens in model
When i add QStandartItem with childrens in model, does children also add in this model?
andre last edited by
Why don't you just try and see?
I cant do that because i get this:
@QStandardItem::insertRows: Ignoring duplicate insertion of item 0x294b8a0@
But sorry for worry i already solve this problem
qxoz last edited by
so what is solution?
This message show when item already insert in some QAbstractItemView, thats why before you insert this item in new QAbstractItemView you need to take it from old QAbstractItemView