mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07:00
CURA-4561 Add tooltip also to the Cancel button.
This commit is contained in:
parent
46a575b84f
commit
0b434978dd
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ Item {
|
||||||
Button {
|
Button {
|
||||||
id: prepareButton
|
id: prepareButton
|
||||||
|
|
||||||
tooltip: catalog.i18nc("@info:tooltip","Slice");
|
tooltip: [1, 5].indexOf(UM.Backend.state) != -1 ? catalog.i18nc("@info:tooltip","Slice current printjob") : catalog.i18nc("@info:tooltip","Cancel slicing process")
|
||||||
// 1 = not started, 2 = Processing
|
// 1 = not started, 2 = Processing
|
||||||
enabled: (base.backendState == 1 || base.backendState == 2) && base.activity == true
|
enabled: (base.backendState == 1 || base.backendState == 2) && base.activity == true
|
||||||
visible: {
|
visible: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue