Fix section mismatch after package order changed

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-01 16:46:37 +01:00
parent 6514fdf9f2
commit caa8da69b4
No known key found for this signature in database
GPG Key ID: 6662DC033BE6B99A

View File

@ -29,17 +29,16 @@ ListView
color: UM.Theme.getColor("detail_background") color: UM.Theme.getColor("detail_background")
required property string section
Label Label
{ {
id: sectionHeaderText id: sectionHeaderText
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left anchors.left: parent.left
text: parent.section text: section
font: UM.Theme.getFont("large") font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text") color: UM.Theme.getColor("text")
onTextChanged: print(text)
} }
} }
@ -221,4 +220,3 @@ ListView
} }
} }
} }