Update of "Volumes in Objects reordered" undo / redo message

This commit is contained in:
bubnikv 2019-08-29 11:16:14 +02:00
parent 4af75c9f23
commit 885ff11d4c
2 changed files with 7 additions and 3 deletions
src/slic3r/GUI

View file

@ -1007,7 +1007,7 @@ void ObjectList::OnDrop(wxDataViewEvent &event)
// if (to_volume_id > from_volume_id) to_volume_id--;
// #endif // __WXGTK__
take_snapshot(_(L("Remove Volume(s)")));
take_snapshot(_((m_dragged_data.type() == itVolume) ? L("Volumes in Object reordered") : L("Object reordered")));
auto& volumes = (*m_objects)[m_dragged_data.obj_idx()]->volumes;
auto delta = to_volume_id < from_volume_id ? -1 : 1;