QTreeView Node value not getting updated

  • Hi

    I have created a QTreeView.
    On the load of the application i am populating the tree view.

    And then after loading the mainwindow with tree populated with nodes
    I have a toolbar button on the click of which i am changing the values of nodes.
    The values are getting reflected in treeview only if i take the cursor in treeview untill then the changes are not reflected in TreeView.

    How to resolve this?

  • How do you change the data? If you have your own model, do you emit dataChanged() signal after successfully storing your data in the setData() method?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.