Browse Source

Also add intent warning to custom print setup

CURA-6601
Jaime van Kessel 5 years ago
parent
commit
5bd5875a20
1 changed files with 13 additions and 1 deletions
  1. 13 1
      resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml

+ 13 - 1
resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml

@@ -7,7 +7,7 @@ import QtQuick.Controls 1.4 as OldControls
 
 import UM 1.3 as UM
 import Cura 1.6 as Cura
-
+import ".."
 
 Item
 {
@@ -50,6 +50,18 @@ Item
             verticalAlignment: Text.AlignVCenter
         }
 
+        NoIntentIcon
+        {
+            affected_extruders: Cura.MachineManager.extruderPositionsWithNonActiveIntent
+            intent_type: Cura.MachineManager.activeIntentCategory
+            anchors.right: intentSelection.left
+            anchors.rightMargin: UM.Theme.getSize("narrow_margin").width
+            width: Math.round(profileLabel.height * 0.5)
+            anchors.verticalCenter: parent.verticalCenter
+            height: width
+            visible: affected_extruders.length
+        }
+
         Button
         {
             id: intentSelection