Debugging of "Blocks/Propagate" GUI -  Correction of the name of publicated objects
This commit is contained in:
vkn 2005-01-14 08:49:32 +00:00
parent 7d3ca9903a
commit 96003c9a54

View File

@ -91,6 +91,7 @@ void BlocksGUI_PropagateDlg::Init()
/* init variables */ /* init variables */
myObject = GEOM::GEOM_Object::_nil(); myObject = GEOM::GEOM_Object::_nil();
ResultName->setText( "" );
myGeomGUI->SetState( 0 ); myGeomGUI->SetState( 0 );
@ -270,6 +271,7 @@ bool BlocksGUI_PropagateDlg::execute( ObjectList& objects )
{ {
GEOM::ListOfGO_var aList = GEOM::GEOM_IBlocksOperations::_narrow( getOperation() )->Propagate( myObject ); GEOM::ListOfGO_var aList = GEOM::GEOM_IBlocksOperations::_narrow( getOperation() )->Propagate( myObject );
ResultName->setText( "" );
if ( !aList->length() ) if ( !aList->length() )
return false; return false;