preferencesAboutTextFull
Claudio Valerio 10 years ago
parent e34ba32111
commit bddb4db2b8
  1. 1
      src/board/UBBoardController.cpp
  2. 2
      src/core/UBPersistenceManager.cpp

@ -64,7 +64,6 @@
#include "domain/UBGraphicsGroupContainerItem.h"
#include "domain/UBItem.h"
#include "board/UBFeaturesController.h"
#include "domain/UBGraphicsStrokesGroup.h"
#include "gui/UBFeaturesWidget.h"

@ -925,6 +925,7 @@ bool UBPersistenceManager::isEmpty(UBDocumentProxy* pDocumentProxy)
if(empty){
mSceneCache.removeScene(pDocumentProxy,0);
delete theSoleScene;
theSoleScene = NULL;
}
else{
//the scene can contain Delegate buttons and the selection frame
@ -941,6 +942,7 @@ bool UBPersistenceManager::isEmpty(UBDocumentProxy* pDocumentProxy)
if(!usefulItemFound){
mSceneCache.removeScene(pDocumentProxy,0);
delete theSoleScene;
theSoleScene = NULL;
empty = true;
}
}

Loading…
Cancel
Save