Fix to SANKORE-508.

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 9db221f60f
commit 8bc1a3cffe
  1. 7
      src/board/UBBoardController.cpp

@ -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
downloadURL(QUrl(qsTmp), pPos); downloadURL(QUrl(qsTmp), pPos);
} }
else{ else{
mActiveScene->addText(pMimeData->text(), pPos); mActiveScene->addTextHtml(pMimeData->html(), pPos);
} }
} }
else{ else{

Loading…
Cancel
Save