CURA-5445 Remove the action when the Finish button is clicked. The

button will just close the dialog.
This commit is contained in:
Diego Prado Gesto 2018-06-06 19:02:40 +02:00
parent 343c606df6
commit ece2729744

View file

@ -14,20 +14,6 @@ Cura.MachineAction
property var selectedDevice: null
property bool completeProperties: true
Connections
{
target: dialog ? dialog : null
ignoreUnknownSignals: true
onNextClicked:
{
// Connect to the printer if the MachineAction is currently shown
if(base.parent.wizard == dialog)
{
connectToPrinter();
}
}
}
function connectToPrinter()
{
if(base.selectedDevice && base.completeProperties)