Fix parent undefined warning

This commit is contained in:
Nicolas Werner 2020-07-08 02:02:48 +02:00
parent 0da1a6d5fc
commit fe12e63c7c
1 changed files with 1 additions and 1 deletions

View File

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