Also add intent warning to custom print setup

CURA-6601
This commit is contained in:
Jaime van Kessel 2019-10-04 10:39:02 +02:00
parent e197fe99fa
commit 5bd5875a20
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

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