Changed sequence of the items in the objects list (inside object): Additional Settings, Subvolumes(parts), Instances
This commit is contained in:
parent
7dcfe57db1
commit
0ac17b5513
2 changed files with 18 additions and 17 deletions
src/slic3r/GUI
|
@ -387,7 +387,8 @@ void ObjectList::on_drop(wxDataViewEvent &event)
|
|||
wxDataViewItem item(event.GetItem());
|
||||
|
||||
// only allow drops for item, not containers
|
||||
if (item.IsOk() && m_objects_model->GetParent(item) == wxDataViewItem(0) ||
|
||||
if (m_selected_object_id < 0 ||
|
||||
item.IsOk() && m_objects_model->GetParent(item) == wxDataViewItem(0) ||
|
||||
event.GetDataFormat() != wxDF_UNICODETEXT || m_objects_model->GetItemType(item) != itVolume) {
|
||||
event.Veto();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue