Fix parent undefined warning

pull/251/head
Nicolas Werner 4 years ago
parent 0da1a6d5fc
commit fe12e63c7c
  1. 2
      resources/qml/TimelineView.qml

@ -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"

Loading…
Cancel
Save