Sankore addW3CWidget creation path fixed

preferencesAboutTextFull
Ivan Ilin 13 years ago
parent f5c55d379b
commit 7c7d3559f9
  1. 4
      src/board/UBBoardController.cpp

@ -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()

Loading…
Cancel
Save