From: nds Date: Fri, 29 Nov 2013 13:43:54 +0000 (+0000) Subject: Profile object creation. X-Git-Tag: BR_hydro_v_0_4~128 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67331f980b0701737af2aa7214a637f569391833;p=modules%2Fhydro.git Profile object creation. --- diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.cxx b/src/HYDROCurveCreator/CurveCreator_Widget.cxx index fd66a6b6..c707f80a 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Widget.cxx @@ -383,6 +383,16 @@ void CurveCreator_Widget::setObjectsSelected(const AIS_ListOfInteractive& theLis } } +//======================================================================= +// function: reset +// purpose: reset the widget viewer, close local context, clear selection +//======================================================================= +void CurveCreator_Widget::reset() +{ + // all local contexts should be closed if the viewer is not more used + setLocalPointContext( false, true ); +} + //======================================================================= // function: getUniqSectionName // purpose: return unique section name