diff --git a/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml b/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml index f48f2dce3..bcbdd45b0 100644 --- a/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml +++ b/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml @@ -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)