From aeee05f8be74a49f66f296e5b38099e012a77ee8 Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 24 Nov 2015 12:19:00 +0300 Subject: [PATCH] Update label about selected land covers after clicking on Apply button for remove, merge and change type operations. --- src/HYDROGUI/HYDROGUI_LandCoverMapOp.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.2