Fix parent undefined warning

This commit is contained in:
Nicolas Werner 2020-07-08 02:02:48 +02:00
parent 0da1a6d5fc
commit fe12e63c7c

View file

@ -181,7 +181,7 @@ Page {
id: wrapper id: wrapper
property Item section property Item section
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
width: chat.delegateMaxWidth width: chat.delegateMaxWidth
height: section ? section.height + timelinerow.height : timelinerow.height height: section ? section.height + timelinerow.height : timelinerow.height
color: "transparent" color: "transparent"