]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Clear text on sketcher property panel on external sketch selection
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 6 Nov 2014 13:29:48 +0000 (16:29 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 6 Nov 2014 13:29:48 +0000 (16:29 +0300)
src/PartSet/PartSet_WidgetSketchLabel.cpp

index 0c4d5ccf5e158772760f62ea28fe2f8197f0c8cd..44228fdeca844f59f71fb46242f43250b712bb73 100644 (file)
@@ -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);
 }