Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/a69d1b39f1bf295f976f111f391857a1bf19a7a1?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
0 deletions
src/document/UBDocumentController.cpp
@ -2069,6 +2069,8 @@ void UBDocumentController::onSortOrderChanged(bool order)
int orderIndex = order ? UBDocumentController : : DESC : UBDocumentController : : ASC ;
int orderIndex = order ? UBDocumentController : : DESC : UBDocumentController : : ASC ;
sortDocuments ( kindIndex , orderIndex ) ;
sortDocuments ( kindIndex , orderIndex ) ;
UBSettings : : settings ( ) - > documentSortOrder - > setInt ( orderIndex ) ;
}
}
void UBDocumentController : : onSortKindChanged ( int index )
void UBDocumentController : : onSortKindChanged ( int index )
@ -2076,6 +2078,8 @@ void UBDocumentController::onSortKindChanged(int index)
int orderIndex = mDocumentUI - > sortOrder - > isChecked ( ) ? UBDocumentController : : DESC : UBDocumentController : : ASC ;
int orderIndex = mDocumentUI - > sortOrder - > isChecked ( ) ? UBDocumentController : : DESC : UBDocumentController : : ASC ;
sortDocuments ( index , orderIndex ) ;
sortDocuments ( index , orderIndex ) ;
UBSettings : : settings ( ) - > documentSortKind - > setInt ( index ) ;
}
}
QWidget * UBDocumentController : : controlView ( )
QWidget * UBDocumentController : : controlView ( )