Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/8216d2e9c67a4bf7e6f34b121d0091fe42e1d3a4?style=split&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

insertthumbpage in board mode only if the same document is selected in both modes

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 827f5a514c
commit 8216d2e9c6
  1. 1
      src/core/UBDocumentManager.cpp

@ -286,6 +286,7 @@ int UBDocumentManager::addFilesToDocument(UBDocumentProxy* document, QStringList
UBGraphicsScene* scene = UBPersistenceManager::persistenceManager()->createDocumentSceneAt(document, pageIndex); UBGraphicsScene* scene = UBPersistenceManager::persistenceManager()->createDocumentSceneAt(document, pageIndex);
importAdaptor->placeImportedItemToScene(scene, page); importAdaptor->placeImportedItemToScene(scene, page);
UBPersistenceManager::persistenceManager()->persistDocumentScene(document, scene, pageIndex); UBPersistenceManager::persistenceManager()->persistDocumentScene(document, scene, pageIndex);
if (UBApplication::documentController->selectedDocument() == UBApplication::boardController->selectedDocument())
UBApplication::boardController->insertThumbPage(pageIndex); UBApplication::boardController->insertThumbPage(pageIndex);
} }

Loading…
Cancel
Save