From e58aa4324908b7cdd87ea71f340dc3039d288dcc Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 13 Nov 2017 16:54:15 +0300 Subject: [PATCH] refs #1395: clear selection on bathymetry selection switch --- src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx index 8c843cd2..526c2c21 100644 --- a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx +++ b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx @@ -90,6 +90,8 @@ void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive ) if( myIsActive==isActive ) return; + getContext( module() )->ClearSelected(); + Handle(AIS_InteractiveContext) ctx = getContext( module() ); QList baths = getShownBathymetries( module() ); if( isActive ) -- 2.39.2