mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 18:49:14 +08:00
CURA-4561 Add tooltip also to the Cancel button.
This commit is contained in:
parent
46a575b84f
commit
0b434978dd
@ -157,7 +157,7 @@ Item {
|
||||
Button {
|
||||
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
|
||||
enabled: (base.backendState == 1 || base.backendState == 2) && base.activity == true
|
||||
visible: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user