fixed color issue when placeholder is set on UBTGAdaptableText

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent f0734e7117
commit c806f2acfd
  1. 2
      src/gui/UBTeacherGuideWidgetsTools.cpp

@ -148,9 +148,9 @@ void UBTGAdaptableText::keyPressEvent(QKeyEvent* e)
} }
if(toPlainText() == mPlaceHolderText){ if(toPlainText() == mPlaceHolderText){
setTextColor(QColor(Qt::black));
setPlainText(""); setPlainText("");
} }
setTextColor(QColor(Qt::black));
QTextEdit::keyPressEvent(e); QTextEdit::keyPressEvent(e);
} }

Loading…
Cancel
Save