Fixed a bug with erase of the multiple instance selection in 3D-scene

+ Try to fix accidentally crash on Copy/Paste
This commit is contained in:
YuSanka 2021-02-16 21:20:06 +01:00
parent 6ea5781709
commit 23b6a597a8
2 changed files with 3 additions and 1 deletions
src/slic3r/GUI

View file

@ -3952,6 +3952,8 @@ void ObjectList::select_items(const wxDataViewItemArray& sels)
{
m_prevent_list_events = true;
m_last_selected_item = sels.empty() ? wxDataViewItem(nullptr) : sels.back();
UnselectAll();
SetSelections(sels);
part_selection_changed();