|
|
|
@ -1567,11 +1567,19 @@ 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(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UBBoardController::moveSceneToIndex(int source, int target) |
|
|
|
|