mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-27 10:05:36 +05:00
Prevent deletion of a group servant when a group on filter is edited w/o activating filter dialog
This commit is contained in:
parent
4f556d6514
commit
b3da9e90b4
@ -774,6 +774,9 @@ SMESH_PredicatePtr SMESH_GroupOnFilter_i::GetPredicate( SMESH::Filter_ptr filter
|
|||||||
|
|
||||||
void SMESH_GroupOnFilter_i::SetFilter(SMESH::Filter_ptr theFilter)
|
void SMESH_GroupOnFilter_i::SetFilter(SMESH::Filter_ptr theFilter)
|
||||||
{
|
{
|
||||||
|
if ( myFilter->_is_equivalent( theFilter ))
|
||||||
|
return;
|
||||||
|
|
||||||
if ( myPreMeshInfo )
|
if ( myPreMeshInfo )
|
||||||
myPreMeshInfo->FullLoadFromFile();
|
myPreMeshInfo->FullLoadFromFile();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user