Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.8.1
-
None
Description
please see the attached example.
after clicking the window, will append a row to the model.
but the model calls MyObject default constructor multiple times, and returns data().
start addSurface constructor, mystring "new object" adding addSurface 1 default constructor // called default constructor multiple times default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor default constructor qml: Component.onCompleted: MyObject() // return wrong value from data() end addSurface 1