mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Use the resetWorkspace for new project
This makes it a bit cleaner as we don't have to copy functionality CURA-6627
This commit is contained in:
parent
2a28321588
commit
414b696b32
1 changed files with 2 additions and 2 deletions
|
|
@ -127,8 +127,8 @@ Item
|
||||||
icon: StandardIcon.Question
|
icon: StandardIcon.Question
|
||||||
onYes:
|
onYes:
|
||||||
{
|
{
|
||||||
CuraApplication.deleteAll();
|
CuraApplication.resetWorkspace()
|
||||||
Cura.Actions.resetProfile.trigger();
|
Cura.Actions.resetProfile.trigger()
|
||||||
UM.Controller.setActiveStage("PrepareStage")
|
UM.Controller.setActiveStage("PrepareStage")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue