Follow-up of 2bb14849f4 - Similar fix for Open Project command

This commit is contained in:
enricoturri1966 2021-09-02 09:49:04 +02:00
parent 2bb14849f4
commit 795ac7f297

View file

@ -4772,7 +4772,7 @@ void Plater::new_project()
void Plater::load_project()
{
if (!p->save_project_if_dirty())
if (p->save_project_if_dirty() == wxID_CANCEL)
return;
// Ask user for a project file name.