fixed a bug where where the active scene was overwritten by the last one

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent 0bbc5ec812
commit 8429a9706c
  1. 5
      src/board/UBBoardController.cpp

@ -1534,12 +1534,13 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy,
{
freezeW3CWidgets(true);
persistCurrentScene();
ClearUndoStack();
mActiveScene = targetScene;
mActiveSceneIndex = index;
persistCurrentScene();
setDocument(pDocumentProxy, forceReload);
updateSystemScaleFactor();

Loading…
Cancel
Save