mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
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:
parent
7c801b5b44
commit
7e1dee49ad
@ -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 ));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user