Show the correct busy message

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-06 16:47:53 +01:00
parent c6501d6ade
commit c73ef84395
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -28,6 +28,7 @@ RowLayout
onClicked:
{
busyMessageText.text = manageButton.busyPrimaryText
manageButton.clicked(true)
}
}
@ -40,6 +41,7 @@ RowLayout
onClicked:
{
busyMessageText.text = manageButton.busySecondaryText
manageButton.clicked(false)
}
}
@ -76,7 +78,6 @@ RowLayout
{
id: busyMessageText
visible: parent.visible
text: manageButton.state == "primary" ? manageButton.busyPrimaryText : manageButton.busySecondaryText
anchors.left: busyIndicator.right
anchors.verticalCenter: parent.verticalCenter