Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/96cd037bb38928c853ce489e29d1b0925e2550c8?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
0 additions and
3 deletions
src/gui/UBTeacherGuideWidgetsTools.cpp
@ -230,10 +230,8 @@ void UBTGAdaptableText::bottomMargin(int newValue)
void UBTGAdaptableText : : focusInEvent ( QFocusEvent * e )
void UBTGAdaptableText : : focusInEvent ( QFocusEvent * e )
{
{
qDebug ( ) < < " pippa " ;
if ( isReadOnly ( ) ) {
if ( isReadOnly ( ) ) {
e - > ignore ( ) ;
e - > ignore ( ) ;
qDebug ( ) < < " ignored " ;
}
}
managePlaceholder ( true ) ;
managePlaceholder ( true ) ;
QTextEdit : : focusInEvent ( e ) ;
QTextEdit : : focusInEvent ( e ) ;
@ -247,7 +245,6 @@ void UBTGAdaptableText::focusOutEvent(QFocusEvent* e){
void UBTGAdaptableText : : managePlaceholder ( bool focus ) {
void UBTGAdaptableText : : managePlaceholder ( bool focus ) {
if ( focus ) {
if ( focus ) {
if ( toPlainText ( ) = = mPlaceHolderText ) {
if ( toPlainText ( ) = = mPlaceHolderText ) {
qDebug ( ) < < " Place holder found " ;
setTextColor ( QColor ( Qt : : black ) ) ;
setTextColor ( QColor ( Qt : : black ) ) ;
setPlainText ( " " ) ;
setPlainText ( " " ) ;
}
}