Show Add Machine dialog after User Agreement dialog is closed

CURA-4501
This commit is contained in:
Lipu Fei 2017-10-30 10:33:49 +01:00
parent 85f7b1ac03
commit c0f1af94ab
3 changed files with 26 additions and 2 deletions

View file

@ -894,6 +894,11 @@ UM.MainWindow
if(!base.visible)
{
base.visible = true;
}
// check later if the user agreement dialog has been closed
if (CuraApplication.needToShowUserAgreement && !CuraApplication.hasUserAgreementShown)
{
restart();
}
else if(Cura.MachineManager.activeMachineId == null || Cura.MachineManager.activeMachineId == "")