From: mkr Date: Tue, 24 Nov 2015 09:19:00 +0000 (+0300) Subject: Update label about selected land covers after clicking on Apply button for remove... X-Git-Tag: v1.5~6^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aeee05f8be74a49f66f296e5b38099e012a77ee8;p=modules%2Fhydro.git Update label about selected land covers after clicking on Apply button for remove, merge and change type operations. --- diff --git a/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx b/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx index 6426928f..4b095607 100644 --- a/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx +++ b/src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx @@ -374,6 +374,9 @@ bool HYDROGUI_LandCoverMapOp::processApply( int& theUpdateFlags, if ( myOperationId == CreateLandCoverMapId ) module()->enableLCMActions(); + if ( myOperationId == RemoveLandCoverId || myOperationId == MergeLandCoverId || myOperationId == ChangeLandCoverTypeId ) + aPanel->updateSelectedLandCoversLabel( getNbSelected() ); + return true; }