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
Minor changes.
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Widget.cxx
diff --git
a/src/HYDROCurveCreator/CurveCreator_Widget.cxx
b/src/HYDROCurveCreator/CurveCreator_Widget.cxx
index aab8b1d2ce3cf46fc11e7e005e0190e4f6b9990b..b595c2217d16d73f6481aae0e861c8dc92027260 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Widget.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_Widget.cxx
@@
-368,7
+368,9
@@
void CurveCreator_Widget::updateActionsStates()
}
break;
case ModificationMode: {
}
break;
case ModificationMode: {
- anEnabledAct << CLOSE_SECTIONS_ID << UNCLOSE_SECTIONS_ID << SET_SECTIONS_POLYLINE_ID << SET_SECTIONS_SPLINE_ID;
+ if ( myNewSectionEditor->isEnableClosed() )
+ anEnabledAct << CLOSE_SECTIONS_ID << UNCLOSE_SECTIONS_ID;
+ anEnabledAct << SET_SECTIONS_POLYLINE_ID << SET_SECTIONS_SPLINE_ID;
int aSectCnt = myCurve->getNbSections();
if( aSectCnt > 0 )
anEnabledAct << CLEAR_ALL_ID;
int aSectCnt = myCurve->getNbSections();
if( aSectCnt > 0 )
anEnabledAct << CLEAR_ALL_ID;