Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
save changes done to items in a treewidget
iwrwrc last edited by
I have editable items in a treewidget, that I am able to manually edit in my interface.
The problem is once I change the tab containing containing the treewidget, and go back to it, I find that the changes I've made are lost.
Is there any way to memorise the changes?
JonB last edited by
Changes made from a
QTreeWidgetshould go through to the underlying model and be saved there. They will persist across tab changes, unless you have something wrong in your code.