From cb629d571537634f118b1fe31fd55ca2b4cefeb9 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 11 Oct 2017 14:34:21 +0300 Subject: [PATCH] refs #1326: unchecking the button on operation finish --- src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2