forked from qt-creator/qt-creator
Fix selection for the rubberband
Task-Number: BAUHAUS-519
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user