diff --git a/src/gui/UBTeacherGuideWidgetsTools.cpp b/src/gui/UBTeacherGuideWidgetsTools.cpp index eefb8714..230ff8ce 100644 --- a/src/gui/UBTeacherGuideWidgetsTools.cpp +++ b/src/gui/UBTeacherGuideWidgetsTools.cpp @@ -148,9 +148,9 @@ void UBTGAdaptableText::keyPressEvent(QKeyEvent* e) } if(toPlainText() == mPlaceHolderText){ - setTextColor(QColor(Qt::black)); setPlainText(""); } + setTextColor(QColor(Qt::black)); QTextEdit::keyPressEvent(e); }