This commit is contained in:
Marco Martin 2012-10-23 12:39:47 +02:00
parent 0b28d4cc40
commit d4ad3e23c3

View File

@ -88,7 +88,7 @@ Item {
verticalScrollBar = verticalScrollBarComponent.createObject(root)
//from normal to section
} else if (flickableItem.section && flickableItem.section.property &&
flickableItem.model.get !== undefines &&
flickableItem.model.get !== undefined &&
(!verticalScrollBar || verticalScrollBar.orientation !== undefined)) {
if (verticalScrollBar) verticalScrollBar.destroy()
verticalScrollBar = sectionScrollerComponent.createObject(root)