#6866 - Do not clear plater when pressing Cancel button in the New Project confirmation dialog
This commit is contained in:
parent
f6f70f6fd4
commit
2bb14849f4
@ -4759,7 +4759,7 @@ SLAPrint& Plater::sla_print() { return p->sla_print; }
|
||||
|
||||
void Plater::new_project()
|
||||
{
|
||||
if (!p->save_project_if_dirty())
|
||||
if (p->save_project_if_dirty() == wxID_CANCEL)
|
||||
return;
|
||||
|
||||
p->select_view_3D("3D");
|
||||
|
Loading…
Reference in New Issue
Block a user