|
|
@ -1793,7 +1793,7 @@ UBGraphicsWidgetItem *UBBoardController::addW3cWidget(const QUrl &pUrl, const QP |
|
|
|
|
|
|
|
|
|
|
|
newUrl = QUrl::fromLocalFile(UBPersistenceManager::persistenceManager()->addGraphicsWidgteToDocument(mActiveDocument, pUrl.toLocalFile(), uuid)); |
|
|
|
newUrl = QUrl::fromLocalFile(UBPersistenceManager::persistenceManager()->addGraphicsWidgteToDocument(mActiveDocument, pUrl.toLocalFile(), uuid)); |
|
|
|
|
|
|
|
|
|
|
|
w3cWidgetItem = mActiveScene->addW3CWidget(pUrl, pos); |
|
|
|
w3cWidgetItem = mActiveScene->addW3CWidget(newUrl, pos); |
|
|
|
|
|
|
|
|
|
|
|
if (w3cWidgetItem) { |
|
|
|
if (w3cWidgetItem) { |
|
|
|
w3cWidgetItem->setUuid(uuid); |
|
|
|
w3cWidgetItem->setUuid(uuid); |
|
|
@ -1810,8 +1810,6 @@ UBGraphicsWidgetItem *UBBoardController::addW3cWidget(const QUrl &pUrl, const QP |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void UBBoardController::cut() |
|
|
|
void UBBoardController::cut() |
|
|
|