Partially revert for 7858b5d3cd - Merge option is suppressed to cut objects

This commit is contained in:
YuSanka 2023-01-24 15:48:13 +01:00
parent 3d9f39e258
commit 4078b7eafc

View File

@ -2628,6 +2628,9 @@ void ObjectList::delete_all_connectors_for_object(int obj_idx)
bool ObjectList::can_merge_to_multipart_object() const
{
if (has_selected_cut_object())
return false;
wxDataViewItemArray sels;
GetSelections(sels);
if (sels.IsEmpty())