Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/38af6e51320a84f0140e2f6eaead64780e51b9b5?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
2 deletions
src/board/UBBoardController.cpp
@ -1039,6 +1039,9 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QStri
return NULL ;
}
mActiveScene - > deselectAllItems ( ) ;
if ( ! sourceUrl . toString ( ) . startsWith ( " file:// " ) & & ! sourceUrl . toString ( ) . startsWith ( " uniboardTool:// " ) )
showMessage ( tr ( " Download finished " ) ) ;
@ -1068,8 +1071,8 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QStri
else
{
mActiveScene - > scaleToFitDocumentSize ( pixItem , true , UBSettings : : objectInControlViewMargin ) ;
pixItem - > setSelected ( true ) ;
UBDrawingController : : drawingController ( ) - > setStylusTool ( UBStylusTool : : Selector ) ;
pixItem - > setSelected ( true ) ;
}
return pixItem ;
@ -1088,8 +1091,8 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QStri
else
{
mActiveScene - > scaleToFitDocumentSize ( svgItem , true , UBSettings : : objectInControlViewMargin ) ;
svgItem - > setSelected ( true ) ;
UBDrawingController : : drawingController ( ) - > setStylusTool ( UBStylusTool : : Selector ) ;
svgItem - > setSelected ( true ) ;
}
return svgItem ;