From 05aa7f948ae5a51a177f8be84343593a53d5b90d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 7 Dec 2019 15:00:06 +0100 Subject: [PATCH] Try to fix binding loop warning --- resources/qml/TimelineView.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index b97af0dd..0defa282 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -59,9 +59,10 @@ Item { ScrollBar.vertical: ScrollBar { id: scrollbar - anchors.top: parent.top - anchors.left: parent.right - anchors.bottom: parent.bottom + parent: chat.parent + anchors.top: chat.top + anchors.left: chat.right + anchors.bottom: chat.bottom onPressedChanged: if (!pressed) chat.updatePosition() }