Fix to SANKORE-508.

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

@ -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{

Loading…
Cancel
Save