-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.2
-
None
-
1ba3e41f09ea719249286fede5d3fe96621ccb61
This bug is best explained by code.
The following inside a PathView works:
model: VisualDataModel {
delegate: Text
model : ListModel {
id: mo
ListElement
ListElement
{ value: "dong" }ListElement
{ value: "bell" } }
}
If you refactor the above code into below, it doesn't work (PathView does not display anything)
ListModel {
id: mo
ListElement
ListElement
{ value: "dong" }ListElement
{ value: "bell" }}
model: VisualDataModel {
delegate: Text
model : mo
}