Salome HOME
Fix Undo/Redo of removing of middle point.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Curve.hxx
index 551fc9734c1977394b2651621d48824fe36e75e6..f9e415884ca273883a370f966a5f7822b03eeea3 100644 (file)
@@ -91,6 +91,13 @@ public:
 
   ListAISObjects constructSection( int theISection ) const;
 
+  //! For internal use only! Undo/Redo are not used here.
+  virtual bool moveSectionInternal(const int theISection,
+                           const int theNewIndex);
+  //! Move section to new position in list
+  virtual bool moveSection(const int theISection,
+                   const int theNewIndex);
+
 protected:
   /** This method updates all undo/redo information required to be updated
    *  after curve modification operation. It returns false if undo/redo