From: mkr Date: Tue, 24 Nov 2015 16:42:20 +0000 (+0300) Subject: refs #756: hide 'QGIS' attribute name' field in Import and Export Strickler table... X-Git-Tag: v1.5~6^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eba21b44c6d3518c74b13686508787d80396062a;p=modules%2Fhydro.git refs #756: hide 'QGIS' attribute name' field in Import and Export Strickler table dialogs. --- diff --git a/src/HYDROGUI/HYDROGUI_StricklerTableDlg.cxx b/src/HYDROGUI/HYDROGUI_StricklerTableDlg.cxx index f6c8ee6c..6c14e957 100644 --- a/src/HYDROGUI/HYDROGUI_StricklerTableDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_StricklerTableDlg.cxx @@ -119,6 +119,7 @@ HYDROGUI_StricklerTableDlg::HYDROGUI_StricklerTableDlg( HYDROGUI_Module* theModu myName = new QLineEdit( aNameGroup ); QGroupBox* aAttrNameGroup = new QGroupBox( tr( "STRICKLER_TABLE_ATTR_NAME" ), this ); + aAttrNameGroup->setVisible( theType == Edit ); QLabel* aAttrNameLabel = new QLabel( tr( "ATTR_NAME" ), aAttrNameGroup ); myAttrName = new QLineEdit( aAttrNameGroup );