Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/5ed13efe0bc32b4790e2dcf662ecd41a360fb6eb?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
3 deletions
src/document/UBDocumentController.cpp
@ -2190,16 +2190,16 @@ void UBDocumentController::deleteSelectedItem()
{
{
UBDocumentTreeModel * docModel = UBPersistenceManager : : persistenceManager ( ) - > mDocumentTreeStructureModel ;
UBDocumentTreeModel * docModel = UBPersistenceManager : : persistenceManager ( ) - > mDocumentTreeStructureModel ;
QModelIndexList indexes = selectedTreeIndexes ( ) ;
if ( ! UBApplication : : mainWindow - > yesNoQuestion ( tr ( " Remove Item " ) , tr ( " Are you sure you want to remove the selected item(s) ? " ) ) )
if ( ! UBApplication : : mainWindow - > yesNoQuestion ( tr ( " Remove Item " ) , tr ( " Are you sure you want to remove the selected item(s) ? " ) ) )
return ;
return ;
QModelIndexList indexes = selectedTreeIndexes ( ) ;
if ( indexes . size ( ) > 1 )
if ( indexes . size ( ) > 1 )
{
{
deleteMultipleItems ( indexes , docModel ) ;
deleteMultipleItems ( indexes , docModel ) ;
}
}
else
else if ( indexes . size ( ) = = 1 )
{
{
deleteSingleItem ( indexes . at ( 0 ) , docModel ) ;
deleteSingleItem ( indexes . at ( 0 ) , docModel ) ;
}
}