0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

Fix setEventListener() for a case of a listener found by name
This commit is contained in:
eap 2012-10-16 11:19:06 +00:00
parent 7c801b5b44
commit 7e1dee49ad

View File

@ -2111,6 +2111,7 @@ void SMESH_subMesh::setEventListener(EventListener* listener,
if ( l_d->first->IsDeletable() )
delete l_d->first;
_eventListeners.erase( l_d );
break;
}
_eventListeners.insert( make_pair( listener, data ));
}