mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 12:21:26 -07:00
Only show add machine dialogue if your stack got corrupt, not whole onboarding
We don't need to accept the EULA again or whatever. Just add the printer that got lost. Contributes to issue CURA-6057.
This commit is contained in:
parent
1207533046
commit
2ccc30b824
2 changed files with 8 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ UM.MainWindow
|
|||
Cura.Actions.parent = backgroundItem
|
||||
CuraApplication.purgeWindows()
|
||||
|
||||
if (CuraApplication.needToShowUserAgreement || Cura.MachineManager.activeMachine == null)
|
||||
if (CuraApplication.needToShowUserAgreement)
|
||||
{
|
||||
welcomeDialog.visible = true
|
||||
}
|
||||
|
|
@ -851,6 +851,10 @@ UM.MainWindow
|
|||
{
|
||||
base.visible = true;
|
||||
}
|
||||
if(Cura.MachineManager.activeMachine == null)
|
||||
{
|
||||
addMachineDialog.open();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue