]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Remove action should be enabled if the modification mode is activated and there are...
authornds <nds@opencascade.com>
Wed, 20 Nov 2013 09:08:56 +0000 (09:08 +0000)
committernds <nds@opencascade.com>
Wed, 20 Nov 2013 09:08:56 +0000 (09:08 +0000)
src/HYDROCurveCreator/CurveCreator_Widget.cxx

index 2c775e6413fe3b506295648f1455a88416bb3cff..bfd8c809073aebfd304e4fe38b603e2bbea2106c 100644 (file)
@@ -1003,7 +1003,7 @@ void CurveCreator_Widget::removePoint()
     int aSectionId = anIt.key();
 
     QList<int> aSectionPoints = anIt.value();
-    qSort( aPoints );
+    qSort( aSectionPoints );
     for( int i = aSectionPoints.size()-1; i >= 0; i-- ){
       int aPntIndx = aSectionPoints[i];
       myCurve->removePoint( aSectionId, aPntIndx );