Salome HOME
#16914 EDF 19401 - Wrong quadratic mesh (bis)
[modules/smesh.git] / src / SMESH / SMESH_subMesh.cxx
index ecbfde44c51940908cf992415300bfbbc7aa2453..52d711462d4bba8625849eba1e9bc0b0d836f9ef 100644 (file)
@@ -878,7 +878,10 @@ SMESH_Hypothesis::Hypothesis_Status
         const SMESH_Hypothesis * prevAlgo = _father->GetHypothesis( this, f, true );
         if (prevAlgo &&
             string( algo->GetName()) != prevAlgo->GetName())
-          modifiedHyp = true;
+        {
+          oldAlgoState = NO_ALGO; // force setting event listener (#16648)
+          modifiedHyp  = true;
+        }
       }
       else
         setAlgoState(MISSING_HYP);