diff --git a/src/gui/UBTeacherGuideWidgetsTools.cpp b/src/gui/UBTeacherGuideWidgetsTools.cpp index 66962bc4..73b89276 100644 --- a/src/gui/UBTeacherGuideWidgetsTools.cpp +++ b/src/gui/UBTeacherGuideWidgetsTools.cpp @@ -197,7 +197,7 @@ void UBTGAdaptableText::bottomMargin(int newValue) void UBTGAdaptableText::resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); - onTextChanged(); + QTimer::singleShot(100,this,SLOT(onTextChanged())); } /***************************************************************************