]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Bug #183: regression: polyline - unnecessary table in Additition mode.
authormzn <mzn@opencascade.com>
Thu, 5 Dec 2013 09:05:46 +0000 (09:05 +0000)
committermzn <mzn@opencascade.com>
Thu, 5 Dec 2013 09:05:46 +0000 (09:05 +0000)
src/HYDROCurveCreator/CurveCreator_Widget.cxx

index 731893a52df1200f99edd5b585b0ae271f20e306..4d1b80914ceb8ea2380a9d46309c9aa19de5104f 100644 (file)
@@ -1184,7 +1184,7 @@ void CurveCreator_Widget::updateLocalPointView()
   CurveCreator_Utils::getSelectedPoints( aContext, myCurve, myLocalPoints );
   int aNbPoints = myLocalPoints.size();
   bool isRowLimit = aNbPoints > myLocalPointRowLimit;
-  myLocalPointView->setVisible( !isRowLimit );
+  myLocalPointView->setVisible( getActionMode() == ModificationMode && !isRowLimit );
 
   if ( !isRowLimit ) {
     bool isBlocked = myLocalPointView->blockSignals(true);