Duplicate components from the sheet and tree popups, with links between them

Ctrl+click picks out several boxes on the sheet, and Ctrl/Shift+click several
rows in the tree. Copies are named on from their original (Add1 -> Add2), sit
one step right and down, and keep the links that ran between the copied
components. One undo step; on a device the originals are read back in full
and the copies made there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-06 22:00:49 +03:00
co-authored by Claude Opus 5.5
parent 4ab4b4d588
commit d036ee206d
6 changed files with 429 additions and 19 deletions
+1
View File
@@ -960,6 +960,7 @@ def render_components(components_to_render):
canvas = app_state.canvas
app_state.active_components_list = components_to_render
app_state.selected_canvas_tag = None
app_state.selected_canvas_tags.clear()
canvas.delete("component")
canvas.delete("link")