Salome HOME
Fix for bug IPAL10198 : "ComponentName" field is empty in the "Informations" dialog...
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Information.cxx
index b2fe0b2eaadb6603e2c0f8986a833c703a355271..2fda73acfdd1f2e003a8c8517585373d3ee9ac6a 100644 (file)
@@ -84,14 +84,13 @@ SUPERVGUI_Information::SUPERVGUI_Information(SUPERV_CNode node, bool isReadOnly)
     contV->setMinimumSize( 200, 0 );
     contV->setReadOnly( false/*isReadOnly*/ );
     contV->setText( SUPERV::FNode::_narrow(node)->GetContainer() );
-    
+
     compnameL = new QLabel( tr( "COMPONENT_NAME_LBL" ), TopGroup ); 
     compnameV = new QLineEdit( TopGroup );      
     compnameV->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
     compnameV->setMinimumSize( 200, 0 );
     compnameV->setReadOnly( true/*isReadOnly*/ );
-    compnameV->setText( dynamic_cast<CAM_Application*>( SUIT_Session::session()->activeApplication() )->
-                       moduleTitle(SUPERV::FNode::_narrow(node)->GetComponentName()) );
+    compnameV->setText( SUPERV::FNode::_narrow(node)->GetComponentName() ); // mkr : IPAL10198
 
     intnameL = new QLabel( tr( "INTERFACE_NAME_LBL" ), TopGroup ); 
     intnameV = new QLineEdit( TopGroup );      
@@ -99,7 +98,7 @@ SUPERVGUI_Information::SUPERVGUI_Information(SUPERV_CNode node, bool isReadOnly)
     intnameV->setMinimumSize( 200, 0 );
     intnameV->setReadOnly( true/*isReadOnly*/ );
     intnameV->setText( SUPERV::FNode::_narrow(node)->GetInterfaceName() );
-    
+
   }
   QLabel* cdatL = new QLabel( tr( "DATE_CREATION_LBL" ), TopGroup ); 
   cdatV = new QLabel( TopGroup );