From: eap Date: Wed, 2 Oct 2019 14:58:53 +0000 (+0300) Subject: #17783 [CEA] Dumping Mesh information X-Git-Tag: V9_4_0a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e29ec7a70acec28e1edc81be3706c54df0ee9b49;p=modules%2Fsmesh.git #17783 [CEA] Dumping Mesh information --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index 142f41ad5..460709041 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -3402,7 +3402,11 @@ void SMESHGUI_MeshInfoDlg::dump() if ( fd.isChecked( BaseInfo ) ) myBaseInfo->saveInfo( out ); if ( fd.isChecked( ElemInfo ) ) myElemInfo->saveInfo( out ); if ( fd.isChecked( AddInfo ) ) myAddInfo->saveInfo( out ); - if ( fd.isChecked( CtrlInfo ) ) myCtrlInfo->saveInfo( out ); + if ( fd.isChecked( CtrlInfo ) ) + { + myCtrlInfo->showInfo( myProxy ); // it saves what is shown only + myCtrlInfo->saveInfo( out ); + } } } } @@ -3962,15 +3966,15 @@ void SMESHGUI_CtrlInfo::saveInfo( QTextStream &out ) out << tr( "NAME_LAB" ) << " " << myWidgets[0]->text() << endl; out << tr( "NODES_INFO" ) << endl; out << indent() << tr( "NUMBER_OF_THE_FREE_NODES" ) << ": " << myWidgets[1]->text() << endl; - out << indent() << tr( "NUMBER_OF_THE_DOUBLE_NODES" ) << ": " << myWidgets[2]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_DOUBLE_NODES" ) << ": " << myWidgets[3]->text() << endl; out << tr( "EDGES_INFO" ) << endl; - out << indent() << tr( "NUMBER_OF_THE_DOUBLE_EDGES" ) << ": " << myWidgets[3]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_DOUBLE_EDGES" ) << ": " << myWidgets[4]->text() << endl; out << tr( "FACES_INFO" ) << endl; - out << indent() << tr( "NUMBER_OF_THE_DOUBLE_FACES" ) << ": " << myWidgets[4]->text() << endl; - out << indent() << tr( "NUMBER_OF_THE_OVER_CONSTRAINED" ) << ": " << myWidgets[5]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_DOUBLE_FACES" ) << ": " << myWidgets[5]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_OVER_CONSTRAINED" ) << ": " << myWidgets[6]->text() << endl; out << tr( "VOLUMES_INFO" ) << endl; - out << indent() << tr( "NUMBER_OF_THE_DOUBLE_VOLUMES" ) << ": " << myWidgets[6]->text() << endl; - out << indent() << tr( "NUMBER_OF_THE_OVER_CONSTRAINED" ) << ": " << myWidgets[7]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_DOUBLE_VOLUMES" ) << ": " << myWidgets[7]->text() << endl; + out << indent() << tr( "NUMBER_OF_THE_OVER_CONSTRAINED" ) << ": " << myWidgets[8]->text() << endl; } ////////////////////////////////////////////////////////////////////////////////