|
|
|
@ -1545,6 +1545,8 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy, |
|
|
|
|
updateSystemScaleFactor(); |
|
|
|
|
|
|
|
|
|
mControlView->setScene(mActiveScene); |
|
|
|
|
disconnect(mControlView, SIGNAL(mouseReleased()), mActiveScene, SLOT(updateSelectionFrame())); |
|
|
|
|
connect(mControlView, SIGNAL(mouseReleased()), mActiveScene, SLOT(updateSelectionFrame())); |
|
|
|
|
|
|
|
|
|
mDisplayView->setScene(mActiveScene); |
|
|
|
|
mActiveScene->setBackgroundZoomFactor(mControlView->transform().m11()); |
|
|
|
|