Make header of detail page depend on header of origin

It's the same as the list of packages you came from, now.

Contributes to issue CURA-8565.
This commit is contained in:
Ghostkeeper 2021-11-29 19:41:25 +01:00 committed by Jelle Spijker
parent 2b419a2379
commit 02d74b4226
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
2 changed files with 3 additions and 3 deletions

View file

@ -12,6 +12,7 @@ Item
{
id: detailPage
property var packageData: packages.selectedPackage
property string title: catalog.i18nc("@header", "Package details")
RowLayout
{
@ -49,7 +50,7 @@ Item
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
text: "Install Plug-ins" //TODO: Depend on package type, and translate.
text: detailPage.title
font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text")
}