Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/b401d4917605af80d421caaa8c6863ee4b498d52
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
6 additions and
8 deletions
src/document/UBDocumentController.cpp
src/document/UBDocumentController.h
src/gui/UBDocumentThumbnailWidget.cpp
src/gui/UBThumbnailWidget.cpp
@ -1592,7 +1592,7 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event)
QTreeView : : dropEvent ( event ) ;
UBApplication : : documentController - > updateActions ( ) ;
UBApplication : : documentController - > pageSelectionChanged ( ) ;
}
void UBDocumentTreeView : : paintEvent ( QPaintEvent * event )
@ -2445,8 +2445,6 @@ void UBDocumentController::deleteSelectedItem()
}
pageSelectionChanged ( ) ;
updateActions ( ) ;
}
void UBDocumentController : : deleteMultipleItems ( QModelIndexList indexes , UBDocumentTreeModel * docModel )
@ -492,7 +492,6 @@ class UBDocumentController : public UBDocumentContainer
void copy ( ) ;
void paste ( ) ;
void focusChanged ( QWidget * old , QWidget * current ) ;
void updateActions ( ) ;
void updateExportSubActions ( const QModelIndex & selectedIndex ) ;
void currentIndexMoved ( const QModelIndex & newIndex , const QModelIndex & PreviousIndex ) ;
@ -551,6 +550,8 @@ protected:
void TreeViewSelectionChanged ( const QModelIndex & current , const QModelIndex & previous ) ;
void TreeViewSelectionChanged ( const QItemSelection & selected , const QItemSelection & deselected ) ;
void pageSelectionChanged ( ) ;
private slots :
void documentZoomSliderValueChanged ( int value ) ;
void itemSelectionChanged ( LastSelectedElementType newSelection ) ;
@ -558,7 +559,7 @@ protected:
void exportDocumentSet ( ) ;
void thumbnailViewResized ( ) ;
void pageSelectionChanged ( ) ;
void updateActions ( ) ;
void documentSceneChanged ( UBDocumentProxy * proxy , int pSceneIndex ) ;
@ -58,7 +58,6 @@ UBDocumentThumbnailWidget::~UBDocumentThumbnailWidget()
// NOOP
}
void UBDocumentThumbnailWidget : : mouseMoveEvent ( QMouseEvent * event )
{
if ( ! dragEnabled ( ) )
@ -315,7 +315,6 @@ void UBThumbnailWidget::mousePressEvent(QMouseEvent *event)
}
mSelectionSpan = index2 - index1 ;
selectItems ( qMin ( index1 , index2 ) , mSelectionSpan < 0 ? - mSelectionSpan + 1 : mSelectionSpan + 1 ) ;
return ;
}
}
}
@ -334,8 +333,9 @@ void UBThumbnailWidget::mousePressEvent(QMouseEvent *event)
if ( ! mLastSelectedThumbnail & & mGraphicItems . count ( ) > 0 )
mLastSelectedThumbnail = dynamic_cast < UBThumbnail * > ( mGraphicItems . at ( 0 ) ) ;
mSelectionSpan = 0 ;
return ;
}
UBApplication : : documentController - > pageSelectionChanged ( ) ;
}