mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -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
|
||||
onYes:
|
||||
{
|
||||
CuraApplication.deleteAll();
|
||||
Cura.Actions.resetProfile.trigger();
|
||||
CuraApplication.resetWorkspace()
|
||||
Cura.Actions.resetProfile.trigger()
|
||||
UM.Controller.setActiveStage("PrepareStage")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue