|
|
@ -1335,9 +1335,12 @@ void UBGraphicsScene::updateSelectionFrame() |
|
|
|
mSelectionFrame->setEnclosedItems(QList<QGraphicsItem*>()); |
|
|
|
mSelectionFrame->setEnclosedItems(QList<QGraphicsItem*>()); |
|
|
|
|
|
|
|
|
|
|
|
UBGraphicsItemDelegate *itemDelegate = UBGraphicsItem::Delegate(selItems.first()); |
|
|
|
UBGraphicsItemDelegate *itemDelegate = UBGraphicsItem::Delegate(selItems.first()); |
|
|
|
|
|
|
|
if (itemDelegate) |
|
|
|
|
|
|
|
{ |
|
|
|
itemDelegate->createControls(); |
|
|
|
itemDelegate->createControls(); |
|
|
|
selItems.first()->setVisible(true); |
|
|
|
selItems.first()->setVisible(true); |
|
|
|
itemDelegate->showControls(); |
|
|
|
itemDelegate->showControls(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} break; |
|
|
|
} break; |
|
|
|
default: { |
|
|
|
default: { |
|
|
|