From: asl Date: Wed, 11 Oct 2017 11:34:21 +0000 (+0300) Subject: refs #1326: unchecking the button on operation finish X-Git-Tag: v2.1~66^2~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb629d571537634f118b1fe31fd55ca2b4cefeb9;p=modules%2Fhydro.git refs #1326: unchecking the button on operation finish --- diff --git a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx index 2aeb9daa..9786506d 100644 --- a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx +++ b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx @@ -22,8 +22,10 @@ #include #include #include +#include #include #include +#include HYDROGUI_BathymetrySelectionOp::HYDROGUI_BathymetrySelectionOp( HYDROGUI_Module* theModule ) : HYDROGUI_Operation( theModule ), myIsActive( false ) @@ -42,6 +44,8 @@ void HYDROGUI_BathymetrySelectionOp::startOperation() void HYDROGUI_BathymetrySelectionOp::abortOperation() { activateSelection( false ); + + module()->action( BathymetrySelectionId )->setChecked( false ); } bool HYDROGUI_BathymetrySelectionOp::isValid( SUIT_Operation* theOtherOp ) const