X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Operations.cxx;h=cb4ad5206aa6e97c5b283a71cd056a69152bcabe;hb=6074577ddf7ed43a22093a51d50d53b99adaea5e;hp=75ca6f832714174cb3a11b9d1b622a7eed06100a;hpb=686208eab66de9f5042cbc271774114f7d6df880;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index 75ca6f83..cb4ad520 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -801,5 +801,13 @@ void HYDROGUI_Module::onBathymetrySelection() void HYDROGUI_Module::onBathymetryText() { - //TODO + QAction* a = qobject_cast( sender() ); + if( !a ) + return; + + bool isChecked = a->isChecked(); + if( isChecked ) + startOperation( BathymetryTextId ); + else + operation( BathymetryTextId )->abort(); }