Fix connecting to the selected printer when pressing "Finish" in add machine wizard

This commit is contained in:
fieldOfView 2016-09-21 14:00:11 +02:00
parent 2a349214cf
commit ba53b0109b

View file

@ -20,7 +20,7 @@ Cura.MachineAction
onNextClicked:
{
// Connect to the printer if the MachineAction is currently shown
if(base.parent == dialog)
if(base.parent.wizard == dialog)
{
connectToPrinter();
}