Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refs #249 - Undo after Join selected sections operation works not properly
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Widget.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_Widget.cxx
b/src/HYDROCurveCreator/CurveCreator_Widget.cxx
index 3cd3f4e9c6823c46eb02611275b7acb6b16ccd85..a808b1406c1442132ca2f63ad7fd01e9a5813761 100644
(file)
--- 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();