From: vsv Date: Thu, 6 Nov 2014 13:29:48 +0000 (+0300) Subject: Clear text on sketcher property panel on external sketch selection X-Git-Tag: V_0.5~28^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=174b17fafda421605b98493a3c56979a3d46d4b0;p=modules%2Fshaper.git Clear text on sketcher property panel on external sketch selection --- diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index 0c4d5ccf5..44228fdec 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -18,10 +18,10 @@ PartSet_WidgetSketchLabel::PartSet_WidgetSketchLabel(QWidget* theParent, : ModuleBase_ModelWidget(theParent, theData, theParentId) { myText = QString::fromStdString(theData->getProperty("title")); - myLabel = new QLabel(myText, theParent); + myLabel = new QLabel("", theParent); myLabel->setWordWrap(true); myTooltip = QString::fromStdString(theData->getProperty("tooltip")); - myLabel->setToolTip(myTooltip); + myLabel->setToolTip(""); myLabel->setIndent(5); }