Skip to content
Snippets Groups Projects
Commit 1b04e490 authored by Marco Bubke's avatar Marco Bubke Committed by Kai Koehne
Browse files

Fix that feedback pane is shown on drag and drop from the item libarary

Reviewed-by: Thomas Hartmann
Task-Number: BAUHAUS-536
parent 38151c29
No related merge requests found
......@@ -213,6 +213,7 @@ void DragTool::dragEnterEvent(QGraphicsSceneDragDropEvent * event)
if (event->mimeData()->hasFormat("application/vnd.bauhaus.itemlibraryinfo") ||
event->mimeData()->hasFormat("application/vnd.bauhaus.libraryresource")) {
if (!m_rewriterTransaction.isValid()) {
view()->clearSelectedModelNodes();
m_rewriterTransaction = view()->beginRewriterTransaction();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment