Show the add machine dialog when we do not have an active machine

This commit is contained in:
Arjen Hiemstra 2016-05-25 11:26:51 +02:00
parent e29cc5e699
commit 2654033fae

View file

@ -813,9 +813,8 @@ UM.MainWindow
base.visible = true;
restart();
}
else if(Cura.MachineManager.activeMachineName == "")
else if(Cura.MachineManager.activeMachineId == null || Cura.MachineManager.activeMachineId == "")
{
addMachineDialog.firstRun = true;
addMachineDialog.open();
}
}