From b4c0e2a52aa742b9286f84c03b6596324d40fc08 Mon Sep 17 00:00:00 2001 From: ispyisail Date: Fri, 2 Oct 2026 21:31:59 +1300 Subject: [PATCH] Fix dragging parts selected in the symbol editor's Parts list Selecting several parts by clicking them in the Parts list, then dragging one on the drawing, moved only the part under the cursor; the others stayed where they were. No selection handles were shown either. updateSelectionFromPartsList() blocks the scene's signals while it copies the list selection to the drawing, so selectionChanged never reached ElementScene::managePrimitivesGroups(), which sets up the decorator that moves a multi-part selection. Call it once the signals are unblocked. Co-Authored-By: Claude Opus 5.5 --- sources/editor/ui/qetelementeditor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/editor/ui/qetelementeditor.cpp b/sources/editor/ui/qetelementeditor.cpp index dfb81b1ec..7469a2a26 100644 --- a/sources/editor/ui/qetelementeditor.cpp +++ b/sources/editor/ui/qetelementeditor.cpp @@ -765,6 +765,9 @@ void QETElementEditor::updateSelectionFromPartsList() } m_parts_list -> blockSignals(false); m_elmt_scene -> blockSignals(false); + //selectionChanged was blocked above, so the selection decorator must be + //updated by hand, otherwise dragging moves only the part under the cursor + m_elmt_scene -> managePrimitivesGroups(); updateInformations(); updateAction(); }