Resolved a bug related to adding a page to current document

preferencesAboutTextFull
Didier Clerc 12 years ago
parent 30061212f1
commit 150dc953c6
  1. 2
      src/board/UBBoardController.cpp

@ -496,7 +496,9 @@ void UBBoardController::addScene(UBGraphicsScene* scene, bool replaceActiveIfEmp
if (replaceActiveIfEmpty && mActiveScene->isEmpty())
{
UBPersistenceManager::persistenceManager()->insertDocumentSceneAt(selectedDocument(), clone, mActiveSceneIndex);
setActiveDocumentScene(mActiveSceneIndex);
deleteScene(mActiveSceneIndex + 1);
}
else
{

Loading…
Cancel
Save