Remove Ok/Cancel buttons to better fit in wizard or action dialog

CURA-2019
This commit is contained in:
fieldOfView 2016-07-29 11:25:45 +02:00
parent b08bdb206b
commit 6d94d3e1d9

View File

@ -142,29 +142,19 @@ Cura.MachineAction
text: base.selectedPrinter ? base.selectedPrinter.ipAddress : ""
}
}
Button
{
text: catalog.i18nc("@action:button", "Ok")
enabled: base.selectedPrinter
onClicked:
{
manager.setKey(base.selectedPrinter.getKey())
completed()
}
}
}
}
}
Button
{
text: catalog.i18nc("@action:button", "Ok")
anchors.right: cancelButton.left
anchors.bottom: parent.bottom
onClicked:
{
manager.setKey(base.selectedPrinter.getKey())
completed()
}
}
Button
{
id: cancelButton
text: catalog.i18nc("@action:button", "Cancel")
anchors.right: discoverUM3Action.right
anchors.bottom: parent.bottom
onClicked:
{
completed()
}
}
}