PDA

View Full Version : Get rid empty row in QTreeWidget after item delete



shadowCODE
11th October 2014, 00:44
I have created a QTreeWidget with Qt Creator and filled it.

When i delete an item from the tree,an empty row moves down to the end of the tree. When i then add and item to the tree, the item adds below the empty row.

How do i get rid of this empty row?

west
13th October 2014, 11:38
Show the code of "i delete an item from the tree"