Browse Source

CURA-4561 Add tooltip also to the Cancel button.

Diego Prado Gesto 7 years ago
parent
commit
0b434978dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/SaveButton.qml

+ 1 - 1
resources/qml/SaveButton.qml

@@ -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: {