Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/5343f6b9baff3698a5841ee19fcea261fa7b50b8?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
15 additions and
1 deletions
src/board/UBBoardController.cpp
src/gui/UBBoardThumbnailsView.cpp
@ -1567,10 +1567,18 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy,
updateBackgroundActionsState ( mActiveScene - > isDarkBackground ( ) , mActiveScene - > pageBackground ( ) ) ;
if ( documentChange )
{
UBGraphicsTextItem : : lastUsedTextColor = QColor ( ) ;
}
if ( sceneChange )
{
//should not be necessary, but no more time to investigate on it for the moment :
//for some reason, certain thumbnail views are not updating except if we load the document twice....
//the only workaroud I found for the moment..
emit initThumbnailsRequired ( this ) ;
emit activeSceneChanged ( ) ;
}
}
@ -127,7 +127,13 @@ void UBBoardThumbnailsView::addThumbnail(UBDocumentContainer* source, int i)
void UBBoardThumbnailsView : : clearThumbnails ( )
{
qDeleteAll ( mThumbnails ) ;
for ( int i = 0 ; i < mThumbnails . size ( ) ; i + + )
{
scene ( ) - > removeItem ( mThumbnails . at ( i ) - > pageNumber ( ) ) ;
scene ( ) - > removeItem ( mThumbnails . at ( i ) ) ;
mThumbnails . at ( i ) - > deleteLater ( ) ;
}
mThumbnails . clear ( ) ;
}