From 0a87c9fae9cb206b4272badf3f23b584a02fbb2a Mon Sep 17 00:00:00 2001 From: mkr Date: Thu, 19 Nov 2015 12:55:28 +0300 Subject: [PATCH] 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. --- src/HYDROGUI/HYDROGUI_LandCoverMapDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2