|
|
|
@ -534,6 +534,9 @@ void UBDocumentController::duplicateSelectedItem() |
|
|
|
|
if (UBApplication::applicationController->displayMode() != UBApplicationController::Document) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
UBBoardPaletteManager* paletteMan = UBApplication::boardController->paletteManager(); |
|
|
|
|
//necessary to save active scene teacher bar data, if the scene didn't happen to be changed
|
|
|
|
|
if(paletteMan) paletteMan->ForceTeacherBarToSaveData(); |
|
|
|
|
if (mSelectionType == Page) |
|
|
|
|
{ |
|
|
|
|
QList<QGraphicsItem*> selectedItems = mDocumentUI->thumbnailWidget->selectedItems(); |
|
|
|
|