Try this:
The item will be reinserted into the tree properly.Qt Code:
item = treeWidget->currentItem(); item->setText(1, "New Date2"); treeWidget->insertTopLevelItem(0, item);To copy to clipboard, switch view to plain text mode
Try this:
The item will be reinserted into the tree properly.Qt Code:
item = treeWidget->currentItem(); item->setText(1, "New Date2"); treeWidget->insertTopLevelItem(0, item);To copy to clipboard, switch view to plain text mode
Bookmarks