Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/b8ff50297ecee7800d997c38beef4355a1f3d880?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
4 deletions
src/document/UBDocumentController.cpp
@ -1558,8 +1558,11 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event)
Q_ASSERT ( QFileInfo ( thumbTo ) . exists ( ) ) ;
auto pix = std : : make_shared < QPixmap > ( thumbTmp ) ;
UBDocumentController * ctrl = UBApplication : : documentController ;
ctrl - > addPixmapAt ( pix , toIndex ) ;
UBApplication : : documentController - > insertExistingThumbPage ( toIndex , pix ) ;
if ( UBApplication : : documentController - > selectedDocument ( ) = = targetDocProxy )
{
UBApplication : : documentController - > reloadThumbnails ( ) ;
}
if ( UBApplication : : boardController - > selectedDocument ( ) = = targetDocProxy )
{
UBApplication : : boardController - > insertThumbPage ( toIndex ) ;
@ -1572,8 +1575,6 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event)
}
UBApplication : : applicationController - > showMessage ( tr ( " %1 pages copied " , " " , total ) . arg ( total ) , false ) ;
UBApplication : : documentController - > TreeViewSelectionChanged ( UBApplication : : documentController - > firstSelectedTreeIndex ( ) , QModelIndex ( ) ) ;
}
else
{