]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1395: clear selection on bathymetry selection switch
authorasl <asl@opencascade.com>
Mon, 13 Nov 2017 13:54:15 +0000 (16:54 +0300)
committerasl <asl@opencascade.com>
Mon, 13 Nov 2017 13:54:15 +0000 (16:54 +0300)
src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx

index 8c843cd2f3f45a71a3ec060f35687768ab7ec2a6..526c2c218cc6297754b470b4729cdd1c107afb16 100644 (file)
@@ -90,6 +90,8 @@ void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive )
   if( myIsActive==isActive )
     return;
 
+  getContext( module() )->ClearSelected();
+
   Handle(AIS_InteractiveContext) ctx = getContext( module() );
   QList<Handle(HYDROGUI_BathymetryPrs)> baths = getShownBathymetries( module() );
   if( isActive )