Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/832ebaac6c071d3a561f7f460c631f1ed309d35a?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

using isActive instead of couting the viewer to know if the scene can be removed

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 51a645c2e9
commit 832ebaac6c
  1. 2
      src/core/UBSceneCache.cpp

@ -128,7 +128,7 @@ void UBSceneCache::removeScene(UBDocumentProxy* proxy, int pageIndex)
{
UBGraphicsScene* scene = value(proxy, pageIndex);
if (scene && scene->views().size() == 0)
if (scene && !scene->isActive())
{
UBSceneCacheID key(proxy, pageIndex);
int count = QHash<UBSceneCacheID, UBGraphicsScene*>::remove(key);

Loading…
Cancel
Save