Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/bddb4db2b81afedf196f268785b31bada61c52fb?style=split&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.
preferencesAboutTextFull
Claudio Valerio 11 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/UBGraphicsGroupContainerItem.h"
#include "domain/UBItem.h" #include "domain/UBItem.h"
#include "board/UBFeaturesController.h" #include "board/UBFeaturesController.h"
#include "domain/UBGraphicsStrokesGroup.h"
#include "gui/UBFeaturesWidget.h" #include "gui/UBFeaturesWidget.h"

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

Loading…
Cancel
Save