createNewDocument on init

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent 3e219b3259
commit d6ca0f6ed4
  1. 2
      src/board/UBBoardController.cpp

@ -148,7 +148,7 @@ void UBBoardController::init()
connect(UBDownloadManager::downloadManager(), SIGNAL(downloadModalFinished()), this, SLOT(onDownloadModalFinished()));
connect(UBDownloadManager::downloadManager(), SIGNAL(addDownloadedFileToBoard(bool,QUrl,QUrl,QString,QByteArray,QPointF,QSize,bool)), this, SLOT(downloadFinished(bool,QUrl,QUrl,QString,QByteArray,QPointF,QSize,bool)));
UBDocumentProxy* doc = UBPersistenceManager::persistenceManager()->createDocument();
UBDocumentProxy* doc = UBPersistenceManager::persistenceManager()->createNewDocument();
setActiveDocumentScene(doc);

Loading…
Cancel
Save