Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.7.1
-
None
-
f14ac31c86eeb53d0b08c799ad0ad895d17475d6
Description
Maybe this is obvious but wasn't for me:
ListModel {
id: animalsModel
ListElement
ListElement
{ name: "Parrot"; size: "Small" }ListElement
{ name: "Guinea pig"; size: "Small" }ListElement
{ name: "Dog"; size: "Medium" }ListElement
{ name: "Cat"; size: "Medium" }}
With the above model (and example in the docs), two sections called Large are created. The ordering of the items in the model is maintained. I was expecting this to be some sort of sophisticated proxy model which groups things of the same criteria together.
So, please either fix code or the docs.