Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/476d8768ee3d4b90d4c4569efbce861fec7d89d1?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
2 deletions
src/document/UBDocumentController.cpp
@ -2370,8 +2370,8 @@ void UBDocumentController::deleteMultipleItems(QModelIndexList indexes, UBDocume
for ( int i = 0 ; i < indexes . size ( ) ; i + + )
for ( int i = 0 ; i < indexes . size ( ) ; i + + )
{
{
deleteIndexAndAssociatedData ( indexes . at ( i ) ) ;
deleteIndexAndAssociatedData ( indexes . at ( i ) ) ;
emit documentThumbnailsUpdated ( this ) ;
}
}
emit documentThumbnailsUpdated ( this ) ;
break ;
break ;
}
}
case EmptyFolder :
case EmptyFolder :
@ -2762,10 +2762,16 @@ void UBDocumentController::deleteIndexAndAssociatedData(const QModelIndex &pInde
}
}
//N/C - NNE - 20140408
//N/C - NNE - 20140408
if ( pIndex . column ( ) = = 0 ) {
if ( pIndex . column ( ) = = 0 )
{
if ( docModel - > isDocument ( pIndex ) ) {
if ( docModel - > isDocument ( pIndex ) ) {
UBDocumentProxy * proxyData = docModel - > proxyData ( pIndex ) ;
UBDocumentProxy * proxyData = docModel - > proxyData ( pIndex ) ;
if ( selectedDocument ( ) = = proxyData )
{
setDocument ( nullptr ) ;
}
if ( proxyData ) {
if ( proxyData ) {
UBPersistenceManager : : persistenceManager ( ) - > deleteDocument ( proxyData ) ;
UBPersistenceManager : : persistenceManager ( ) - > deleteDocument ( proxyData ) ;
}
}