diff --git a/src/Mod/TechDraw/Gui/TaskRichAnno.cpp b/src/Mod/TechDraw/Gui/TaskRichAnno.cpp index 1f5eae0f55..f103a4e6db 100644 --- a/src/Mod/TechDraw/Gui/TaskRichAnno.cpp +++ b/src/Mod/TechDraw/Gui/TaskRichAnno.cpp @@ -90,6 +90,11 @@ TaskRichAnno::TaskRichAnno(TechDrawGui::ViewProviderRichAnno* annoVP) : } ui->setupUi(this); +#if QT_VERSION >= 0x050200 + ui->teAnnoText.setPlaceholderText(QObject::tr( + "Input the annotation text directly or start the rich text editor")); +#endif + m_annoFeat = m_annoVP->getFeature(); //m_baseFeat can be null