X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_BathymetrySelectionOp.cxx;h=dd5fb3cf0faeec51bdbb8ffbc704afde292179a3;hb=6ba63abdcb5832a1773cb33cf67d6b34aee4139d;hp=7a18167d5ba97c645f303f56199505cdf5707126;hpb=77da7ec61fd91293d259edd5ee22fcde7d4e6a0b;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx index 7a18167d..dd5fb3cf 100644 --- a/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx +++ b/src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx @@ -26,6 +26,7 @@ #include #include #include +#include HYDROGUI_BathymetrySelectionOp::HYDROGUI_BathymetrySelectionOp( HYDROGUI_Module* theModule ) : HYDROGUI_Operation( theModule ), myIsActive( false ) @@ -91,7 +92,8 @@ void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive ) return; getContext( module() )->ClearSelected(true); - + qApp->setOverrideCursor( Qt::WaitCursor ); + getContext( module() )->ClearSelected(true); Handle(AIS_InteractiveContext) ctx = getContext( module() ); QList baths = getShownBathymetries( module() ); if( isActive ) @@ -118,4 +120,6 @@ void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive ) } myIsActive = isActive; + + qApp->restoreOverrideCursor(); }