QmlDesigner: Remove selection clear while dragging

Remove clearing of all selected nodes when dragging an asset across
the Form Editor.

Change-Id: Ibc67b6ff01955d0af0a3510b03c89d03b2c3db93
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Henning Gruendl
2022-05-19 10:56:15 +02:00
committed by Thomas Hartmann
parent c977dee6fe
commit 21710b3bed

View File

@@ -286,7 +286,6 @@ void DragTool::dragEnterEvent(const QList<QGraphicsItem *> &/*itemList*/, QGraph
}
if (!m_rewriterTransaction.isValid()) {
view()->clearSelectedModelNodes();
m_rewriterTransaction = view()->beginRewriterTransaction(QByteArrayLiteral("DragTool::dragEnterEvent"));
}
}