Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/8645c28471dcf5329c4317fdb7fd179f1bc1a26c?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
9 additions and
3 deletions
src/board/UBBoardController.cpp
src/document/UBDocumentContainer.cpp
src/gui/UBThumbnailWidget.h
@ -1598,6 +1598,9 @@ void UBBoardController::moveSceneToIndex(int source, int target)
setActiveDocumentScene ( target ) ;
setActiveDocumentScene ( target ) ;
mMovingSceneIndex = - 1 ;
mMovingSceneIndex = - 1 ;
//on board thumbnails view
emit moveThumbnailRequired ( source , target ) ;
emit activeSceneChanged ( ) ;
emit activeSceneChanged ( ) ;
}
}
}
}
@ -76,8 +76,6 @@ bool UBDocumentContainer::movePageToIndex(int source, int target)
insertThumbPage ( target ) ;
insertThumbPage ( target ) ;
emit documentThumbnailsUpdated ( this ) ;
emit documentThumbnailsUpdated ( this ) ;
//on board thumbnails view
emit moveThumbnailRequired ( source , target ) ;
return true ;
return true ;
}
}
@ -35,6 +35,8 @@
# include <QTime>
# include <QTime>
# include <QGraphicsSceneHoverEvent>
# include <QGraphicsSceneHoverEvent>
# include "core/UBApplication.h"
# include "board/UBBoardController.h"
# include "frameworks/UBCoreGraphicsScene.h"
# include "frameworks/UBCoreGraphicsScene.h"
# include "core/UBSettings.h"
# include "core/UBSettings.h"
# include "domain/UBItem.h"
# include "domain/UBItem.h"
@ -486,12 +488,15 @@ class UBDraggableThumbnailView : public UBDraggableThumbnail
void setPageNumber ( int i )
void setPageNumber ( int i )
{
{
mPageNumber - > setPlainText ( tr ( " Page %0 " ) . arg ( i + 1 ) ) ;
mPageNumber - > setPlainText ( tr ( " Page %0 " ) . arg ( i + 1 ) ) ;
if ( UBApplication : : boardController - > activeSceneIndex ( ) = = i )
mPageNumber - > setDefaultTextColor ( QColor ( " #6682b5 " ) ) ;
else
mPageNumber - > setDefaultTextColor ( QColor ( " #000000 " ) ) ;
}
}
private :
private :
UBThumbnailView * mThumbnailView ;
UBThumbnailView * mThumbnailView ;
UBThumbnailTextItem * mPageNumber ;
UBThumbnailTextItem * mPageNumber ;
} ;
} ;
namespace UBThumbnailUI
namespace UBThumbnailUI