try a sectionscroller only if model.get is avail
This commit is contained in:
parent
eadae554b8
commit
8f6eb3cc7f
@ -88,6 +88,7 @@ Item {
|
||||
verticalScrollBar = verticalScrollBarComponent.createObject(root)
|
||||
//from normal to section
|
||||
} else if (flickableItem.section && flickableItem.section.property &&
|
||||
flickableItem.model.get !== undefines &&
|
||||
(!verticalScrollBar || verticalScrollBar.orientation !== undefined)) {
|
||||
if (verticalScrollBar) verticalScrollBar.destroy()
|
||||
verticalScrollBar = sectionScrollerComponent.createObject(root)
|
||||
|
Loading…
Reference in New Issue
Block a user