QStandardItemModel appendRow doesn't update QML TreeView
Solved
General and Desktop
-
That doesn't seem to work either.
-
Does anyone know of some piece of sample code for a dynamic model with Qt Quick and QStandardItemModel where you can add rows and edit items after the construction?
-
Oh, Damnit. I had a ProjectTreeViewModel { id:projecttreeviewmodel } in my UI components and used that instead of my treeviewmodel added as a context property.
-
Sneaky one !
Glad you found out :)