From 3306ac5c4d79d670954ba89aee82c9ffa505bc0e Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 17 Dec 2013 10:49:12 +0000 Subject: [PATCH] refs #250 - Fatal error after Join all selections operation --- src/HYDROCurveCreator/CurveCreator_Widget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2