FIX: fix issue STUDIO-395

cannot save project

Change-Id: I977402535dee8ea7b84fec4bb721a4e146a5e49e
(cherry picked from commit d1e483dca2903128cde028dfec77692c74fe7ba0)
This commit is contained in:
zhimin.zeng 2022-07-19 19:30:03 +08:00 committed by Lane.Wei
parent ffc86d15cf
commit eaf71e4d2f
1 changed files with 2 additions and 0 deletions

View File

@ -6572,6 +6572,8 @@ int Plater::save_project(bool saveAs)
up_to_date(true, false);
up_to_date(true, true);
wxGetApp().update_saved_preset_from_current_preset();
p->dirty_state.reset_after_save();
return wxID_YES;
}