Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e33fc007c78b29075d0fae5973e68ac1ddb47f65?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
1 deletions
src/domain/UBGraphicsItemUndoCommand.cpp
src/domain/UBGraphicsScene.cpp
@ -246,7 +246,11 @@ void UBGraphicsItemUndoCommand::redo()
polygonItem - > strokesGroup ( ) - > removeFromGroup ( polygonItem ) ;
polygonItem - > strokesGroup ( ) - > removeFromGroup ( polygonItem ) ;
}
}
mScene - > removeItem ( item ) ;
if ( itemLayerType : : BackgroundItem = = item - > data ( UBGraphicsItemData : : itemLayerType ) )
mScene - > setAsBackgroundObject ( nullptr ) ;
else
mScene - > removeItem ( item ) ;
if ( bApplyTransform )
if ( bApplyTransform )
item - > setTransform ( t ) ;
item - > setTransform ( t ) ;
@ -1476,6 +1476,7 @@ void UBGraphicsScene::clearContent(clearCase pCase)
if ( mBackgroundObject ) {
if ( mBackgroundObject ) {
removeItem ( mBackgroundObject ) ;
removeItem ( mBackgroundObject ) ;
removedItems < < mBackgroundObject ;
removedItems < < mBackgroundObject ;
mBackgroundObject = nullptr ;
}
}
break ;
break ;