|
|
@ -1166,9 +1166,10 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy, |
|
|
|
{ |
|
|
|
{ |
|
|
|
emit activeDocumentChanged(); |
|
|
|
emit activeDocumentChanged(); |
|
|
|
UBGraphicsTextItem::lastUsedTextColor = QColor(); |
|
|
|
UBGraphicsTextItem::lastUsedTextColor = QColor(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Notify the navigator palette that the document has changed
|
|
|
|
// Notify the navigator palette that the document has changed
|
|
|
|
emit setDocOnPageNavigator(pDocumentProxy); |
|
|
|
emit setDocOnPageNavigator(pDocumentProxy); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (sceneChange) |
|
|
|
if (sceneChange) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1984,7 +1985,7 @@ void UBBoardController::processMimeData(const QMimeData* pMimeData, const QPoint |
|
|
|
downloadURL(QUrl(qsTmp), pPos); |
|
|
|
downloadURL(QUrl(qsTmp), pPos); |
|
|
|
} |
|
|
|
} |
|
|
|
else{ |
|
|
|
else{ |
|
|
|
mActiveScene->addText(pMimeData->text(), pPos); |
|
|
|
mActiveScene->addTextHtml(pMimeData->html(), pPos); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else{ |
|
|
|
else{ |
|
|
|