Fix creating print job name

Also fixed up the code style of that bit.

Perhaps this should've been done in Python, but that is for later.

Contributes to issue CURA-1278.
This commit is contained in:
Ghostkeeper 2016-05-24 15:04:08 +02:00
parent 332321b991
commit c80455c6bc
No known key found for this signature in database
GPG key ID: 701948C5954A7385
2 changed files with 30 additions and 22 deletions

View file

@ -813,7 +813,7 @@ UM.MainWindow
base.visible = true;
restart();
}
else if(UM.MachineManager.activeMachineInstance == "")
else if(Cura.MachineManager.activeMachineName == "")
{
addMachineDialog.firstRun = true;
addMachineDialog.open();