|
|
@ -2220,11 +2220,7 @@ void UBBoardController::copy() |
|
|
|
UBItem* ubItem = dynamic_cast<UBItem*>(gi); |
|
|
|
UBItem* ubItem = dynamic_cast<UBItem*>(gi); |
|
|
|
|
|
|
|
|
|
|
|
if (ubItem && !mActiveScene->tools().contains(gi)) |
|
|
|
if (ubItem && !mActiveScene->tools().contains(gi)) |
|
|
|
{ |
|
|
|
selected << ubItem; |
|
|
|
UBItem *itemCopy = ubItem->deepCopy(); |
|
|
|
|
|
|
|
if (itemCopy) |
|
|
|
|
|
|
|
selected << itemCopy; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (selected.size() > 0) |
|
|
|
if (selected.size() > 0) |
|
|
|