FIX: macOS crash when undo object deleting

Change-Id: I42c8c1064e5ce91befd4cdc0ff031a1e94471348
Jira: STUDIO-5515
This commit is contained in:
chunmao.guo 2023-12-27 10:42:20 +08:00 committed by Lane.Wei
parent 7f46a1c04c
commit e8629964c5
1 changed files with 3 additions and 2 deletions

View File

@ -5778,11 +5778,12 @@ void ObjectList::reload_all_plates(bool notify_partplate)
++obj_idx;
}
update_selections();
#ifdef __WXOSX__
AssociateModel(m_objects_model);
#endif
update_selections();
m_prevent_canvas_selection_update = false;
// update scene