mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-03 21:10:43 +08:00
#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…
x
Reference in New Issue
Block a user