mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 01:04:17 +05:00
Added check for the existence of the study during its closing
This commit is contained in:
parent
f5b69ee44c
commit
c88c909655
@ -4768,6 +4768,8 @@ bool SMESHGUI::deactivateModule( SUIT_Study* study )
|
||||
|
||||
void SMESHGUI::studyClosed( SUIT_Study* s )
|
||||
{
|
||||
if( !s )
|
||||
return;
|
||||
SMESH::RemoveVisuData( s->id() );
|
||||
SalomeApp_Module::studyClosed( s );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user