]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Merge with master
authorazv <azv@opencascade.com>
Tue, 24 Jun 2014 15:33:29 +0000 (19:33 +0400)
committerazv <azv@opencascade.com>
Tue, 24 Jun 2014 15:33:29 +0000 (19:33 +0400)
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/PartSet/PartSet_OperationFeatureCreate.cpp

index e122c52504b6633feb7e573e8ed2d885b91899ed..a88a3086063388ad47af60ad03e314a8f52d1f54 100644 (file)
@@ -100,6 +100,7 @@ QWidget* ModuleBase_WidgetFactory::labelControl(QWidget* theParent)
   QWidget* result = new QWidget(theParent);
   QVBoxLayout* aLabelLay = new QVBoxLayout(result);
   QLabel* aLabel = new QLabel(result);
+  aLabel->setWordWrap(true);
   aLabel->setText(qs(myWidgetApi->getProperty(INFO_WDG_TEXT)));
   aLabel->setToolTip(qs(myWidgetApi->getProperty(INFO_WDG_TOOLTIP)));
   aLabelLay->addWidget(aLabel);
index bd662e200e2ed7ebad9e31b8a3e334a8656e5a3b..2e864b576de077897f54c6085983b1a69970d974 100644 (file)
@@ -113,7 +113,7 @@ void PartSet_OperationFeatureCreate::mouseReleased(QMouseEvent* theEvent, Handle
     return;
   }
 
-  double aX, anY;
+  double aX = 0, anY = 0;
 
   gp_Pnt aPoint = PartSet_Tools::convertClickToPoint(theEvent->pos(), theView);
   if (theSelected.empty()) {