From d4ad3e23c39510230a9475f13325701b4efe7729 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 23 Oct 2012 12:39:47 +0200 Subject: [PATCH] fix typo --- declarativeimports/plasmaextracomponents/qml/ScrollArea.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)