Add QStandartItem with childrens in model
-
Hello!
When i add QStandartItem with childrens in model, does children also add in this model? -
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 -
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