Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refs #1326: debug of the selection on bathymetry
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_BathymetrySelectionOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx
b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx
index aa3e0f4b09de36e72580098fc429fc4f7869bec3..317ca6aacc70cd261c18b8c0924bdba49212a914 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx
@@
-86,7
+86,10
@@
void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive )
else
{
foreach( Handle(HYDROGUI_BathymetryPrs) bath, baths )
+ {
+ bath->ClearSelected();
ctx->Deactivate( bath );
+ }
ctx->CloseLocalContext( -1, Standard_True );
}