From: mkr Date: Thu, 19 Nov 2015 09:55:28 +0000 (+0300) Subject: Enable Apply, Apply and Close buttons, if create land cover map operation is started... X-Git-Tag: v1.5~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a87c9fae9cb206b4272badf3f23b584a02fbb2a;p=modules%2Fhydro.git Enable Apply, Apply and Close buttons, if create land cover map operation is started, when any of available polyline/face is already selected in the Object Browser/3d Viewer. --- diff --git a/src/HYDROGUI/HYDROGUI_LandCoverMapDlg.cxx b/src/HYDROGUI/HYDROGUI_LandCoverMapDlg.cxx index c0b687a5..2e11ce1e 100644 --- a/src/HYDROGUI/HYDROGUI_LandCoverMapDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_LandCoverMapDlg.cxx @@ -127,6 +127,8 @@ void HYDROGUI_LandCoverMapDlg::setObjectName( const QString& theName ) myObjectNameCreate->setText( theName ); else myObjectNameEdit->setCurrentIndex( myObjectNameEdit->findText( theName ) ); + + updateState(); } QString HYDROGUI_LandCoverMapDlg::getObjectName() const