From: nds Date: Tue, 17 Dec 2013 10:49:12 +0000 (+0000) Subject: refs #250 - Fatal error after Join all selections operation X-Git-Tag: BR_hydro_v_0_6~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3306ac5c4d79d670954ba89aee82c9ffa505bc0e;p=modules%2Fhydro.git refs #250 - Fatal error after Join all selections operation --- diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.cxx b/src/HYDROCurveCreator/CurveCreator_Widget.cxx index 3cd3f4e9..a808b140 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Widget.cxx @@ -719,7 +719,7 @@ void CurveCreator_Widget::onJoinAll() if( !myCurve ) return; stopActionMode(); - myCurve->join( 0, myCurve->getNbSections() ); + myCurve->join( 0, myCurve->getNbSections()-1 ); mySectionView->reset(); updateActionsStates(); updateUndoRedo();