|
|
@ -534,6 +534,9 @@ void UBDocumentController::duplicateSelectedItem() |
|
|
|
if (UBApplication::applicationController->displayMode() != UBApplicationController::Document) |
|
|
|
if (UBApplication::applicationController->displayMode() != UBApplicationController::Document) |
|
|
|
return; |
|
|
|
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) |
|
|
|
if (mSelectionType == Page) |
|
|
|
{ |
|
|
|
{ |
|
|
|
QList<QGraphicsItem*> selectedItems = mDocumentUI->thumbnailWidget->selectedItems(); |
|
|
|
QList<QGraphicsItem*> selectedItems = mDocumentUI->thumbnailWidget->selectedItems(); |
|
|
|