Fixed objects not being selected after paste

This commit is contained in:
Yousef Khadadeh 2026-01-07 12:28:04 +03:00
parent 10f3ff40de
commit e88d9c504c
3 changed files with 6 additions and 5 deletions

View file

@ -102,6 +102,7 @@ std::vector<CanvasComponentContainer::ObjInfoIterator> DrawingProgramLayerManage
throw std::runtime_error("[DrawingProgramLayerManager::add_many_components_to_layer_being_edited] No layer selected!");
auto toRet = editLayerPtr->get_layer().components->insert_ordered_list_and_send_create(editLayerPtr->get_layer().components, newObjs);
add_undo_place_components(editingLayer.lock().get(), toRet);
return toRet;
}
return {};
}