diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 0e69fc3e6..bc6d6213a 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -2052,7 +2052,10 @@ void ObjectList::delete_from_model_and_list(const std::vector& it void ObjectList::delete_all_objects_from_list() { + m_prevent_list_events = true; + this->UnselectAll(); m_objects_model->DeleteAll(); + m_prevent_list_events = false; part_selection_changed(); }