Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/76cfee3dc5bad8d83943b1f6860a23b46ae5d23d?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
7 deletions
src/board/UBBoardController.cpp
src/document/UBDocumentController.cpp
@ -589,8 +589,8 @@ void UBBoardController::duplicateScene(int nIndex)
if ( UBApplication : : documentController - > selectedDocument ( ) = = selectedDocument ( ) )
{
UBApplication : : documentController - > insertThumbPage ( nIndex ) ;
UBApplication : : documentController - > reloadThumbnails ( ) ;
}
//emit documentThumbnailsUpdated(this);
emit addThumbnailRequired ( this , nIndex + 1 ) ;
selectedDocument ( ) - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;
@ -2382,7 +2382,10 @@ void UBDocumentController::duplicateSelectedItem()
if ( selectedSceneIndexes . count ( ) > 0 )
{
duplicatePages ( selectedSceneIndexes ) ;
emit documentThumbnailsUpdated ( this ) ;
if ( selectedDocument ( ) = = selectedDocumentProxy ( ) )
{
reloadThumbnails ( ) ;
}
selectedDocument ( ) - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;
UBMetadataDcSubsetAdaptor : : persist ( selectedDocument ( ) ) ;
int selectedThumbnail = selectedSceneIndexes . last ( ) + selectedSceneIndexes . size ( ) ;
@ -3132,11 +3135,6 @@ void UBDocumentController::documentSceneChanged(UBDocumentProxy* proxy, int pSce
{
Q_UNUSED ( pSceneIndex ) ;
if ( proxy = = selectedDocumentProxy ( ) )
{
reloadThumbnails ( ) ;
}
QModelIndexList sel = mDocumentUI - > documentTreeView - > selectionModel ( ) - > selectedRows ( 0 ) ;
QModelIndex selection ;