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

Fix selection for the rubberband

Task-Number: BAUHAUS-519
parent 14714e38
No related branches found
No related tags found
No related merge requests found
...@@ -93,8 +93,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType) ...@@ -93,8 +93,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType)
if (!m_beginFormEditorItem) if (!m_beginFormEditorItem)
return; return;
QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(), QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(), Qt::IntersectsItemShape);
Qt::IntersectsItemBoundingRect);
QList<QmlItemNode> newNodeList; QList<QmlItemNode> newNodeList;
foreach (QGraphicsItem* item, itemList) foreach (QGraphicsItem* item, itemList)
......
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