Commit 8bc1a3cf authored by Aleksei Kanash's avatar Aleksei Kanash

Fix to SANKORE-508.

parent 9db221f6
...@@ -1166,10 +1166,11 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy, ...@@ -1166,10 +1166,11 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy,
{ {
emit activeDocumentChanged(); emit activeDocumentChanged();
UBGraphicsTextItem::lastUsedTextColor = QColor(); UBGraphicsTextItem::lastUsedTextColor = QColor();
// Notify the navigator palette that the document has changed
emit setDocOnPageNavigator(pDocumentProxy);
} }
// Notify the navigator palette that the document has changed
emit setDocOnPageNavigator(pDocumentProxy);
if (sceneChange) if (sceneChange)
{ {
emit activeSceneChanged(); emit activeSceneChanged();
...@@ -1984,7 +1985,7 @@ void UBBoardController::processMimeData(const QMimeData* pMimeData, const QPoint ...@@ -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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment