mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-15 07:13:17 +08:00
Show the correct busy message
Contributes to: CURA-8587
This commit is contained in:
parent
c6501d6ade
commit
c73ef84395
@ -28,6 +28,7 @@ RowLayout
|
|||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
busyMessageText.text = manageButton.busyPrimaryText
|
||||||
manageButton.clicked(true)
|
manageButton.clicked(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -40,6 +41,7 @@ RowLayout
|
|||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
busyMessageText.text = manageButton.busySecondaryText
|
||||||
manageButton.clicked(false)
|
manageButton.clicked(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -76,7 +78,6 @@ RowLayout
|
|||||||
{
|
{
|
||||||
id: busyMessageText
|
id: busyMessageText
|
||||||
visible: parent.visible
|
visible: parent.visible
|
||||||
text: manageButton.state == "primary" ? manageButton.busyPrimaryText : manageButton.busySecondaryText
|
|
||||||
anchors.left: busyIndicator.right
|
anchors.left: busyIndicator.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user