From: mzn Date: Thu, 5 Dec 2013 09:05:46 +0000 (+0000) Subject: Bug #183: regression: polyline - unnecessary table in Additition mode. X-Git-Tag: BR_hydro_v_0_4~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65c66988575cb4fc8de7d838cde08b4731a6e54b;p=modules%2Fhydro.git Bug #183: regression: polyline - unnecessary table in Additition mode. --- diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.cxx b/src/HYDROCurveCreator/CurveCreator_Widget.cxx index 731893a5..4d1b8091 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Widget.cxx @@ -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);