From 174b17fafda421605b98493a3c56979a3d46d4b0 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 6 Nov 2014 16:29:48 +0300 Subject: [PATCH] Clear text on sketcher property panel on external sketch selection --- src/PartSet/PartSet_WidgetSketchLabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2