Salome HOME
Double editor in table
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Operation.cxx
index 0d2bb4846769b8010a9bdcdafc515aa75bb197ca..083e3323084fd1612fbea969b0042bf9f8b6f2d8 100644 (file)
@@ -384,7 +384,7 @@ void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve)
         theCurve->clearInternal();
         break;
       case CurveCreator_Operation::SetClosed:
-        theCurve->setClosedInternal((pInt[0] != 0), pInt[1]);
+        theCurve->setClosedInternal(pInt[1], (pInt[0] != 0));
         break;
       case CurveCreator_Operation::MoveSection:
         theCurve->moveSectionInternal(pInt[0], pInt[1]);