Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/fdecd32ec76d926685b9e531878c0f791021b4a5
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
3 deletions
src/domain/UBGraphicsTextItemDelegate.cpp
@ -280,8 +280,6 @@ void UBGraphicsTextItemDelegate::contentsChanged()
// will remain in the font list.
void UBGraphicsTextItemDelegate : : customize ( QFontDialog & fontDialog )
{
fontDialog . setOption ( QFontDialog : : DontUseNativeDialog ) ;
if ( UBSettings : : settings ( ) - > isDarkBackground ( ) ) {
fontDialog . setStyleSheet ( " background-color: white; " ) ;
}
@ -334,7 +332,11 @@ void UBGraphicsTextItemDelegate::pickFont()
{
if ( mDelegated & & mDelegated - > scene ( ) & & mDelegated - > scene ( ) - > views ( ) . size ( ) > 0 )
{
QFontDialog fontDialog ( delegated ( ) - > textCursor ( ) . charFormat ( ) . font ( ) , static_cast < QGraphicsView * > ( UBApplication : : boardController - > controlView ( ) ) ) ;
// https://bugreports.qt.io/browse/QTBUG-79637
QFontDialog fontDialog ( static_cast < QGraphicsView * > ( UBApplication : : boardController - > controlView ( ) ) ) ;
fontDialog . setOption ( QFontDialog : : DontUseNativeDialog ) ;
fontDialog . setCurrentFont ( delegated ( ) - > textCursor ( ) . charFormat ( ) . font ( ) ) ;
customize ( fontDialog ) ;
if ( fontDialog . exec ( ) )