ChatView: fix property binding loop warning (#2601)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT
2024-07-08 17:04:35 -04:00
committed by GitHub
parent 4853adebd9
commit 64359e68e6

View File

@@ -1170,7 +1170,7 @@ Rectangle {
states: [
State {
name: "expanded"
PropertyChanges { target: sourcesLayout; Layout.preferredHeight: childrenRect.height }
PropertyChanges { target: sourcesLayout; Layout.preferredHeight: flow.height }
},
State {
name: "collapsed"
@@ -1192,6 +1192,7 @@ Rectangle {
]
Flow {
id: flow
Layout.fillWidth: true
spacing: 10
visible: consolidatedSources.length !== 0