|
|
|
@ -1567,10 +1567,18 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy, |
|
|
|
|
updateBackgroundActionsState(mActiveScene->isDarkBackground(), mActiveScene->pageBackground()); |
|
|
|
|
|
|
|
|
|
if(documentChange) |
|
|
|
|
{ |
|
|
|
|
UBGraphicsTextItem::lastUsedTextColor = QColor(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (sceneChange) |
|
|
|
|
{ |
|
|
|
|
//should not be necessary, but no more time to investigate on it for the moment :
|
|
|
|
|
//for some reason, certain thumbnail views are not updating except if we load the document twice....
|
|
|
|
|
//the only workaroud I found for the moment..
|
|
|
|
|
emit initThumbnailsRequired(this); |
|
|
|
|
emit activeSceneChanged(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|