Salome HOME
Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.cxx
index 1ec62d78e99c8d81e5f160b428a5654f27cc991f..89a7a0b6a77702d0faac5d9ff04174a5ce4ad944 100644 (file)
@@ -1503,7 +1503,7 @@ void SMESHGUI_MeshOp::onAlgoSelected( const int theIndex,
     if ( isAccessibleDim( aDim - 1 ) ) {
       if ( algoData && myIsOnGeometry ) {
         for (int i = aDim - 1; i >= SMESH::DIM_0D; i--) {
-          if ( isAccessibleDim( i ) ) {
+          if ( isAccessibleDim( i ) && currentHyp( i, Algo ) < 0 ) {
             myDlg->disableTab( i );
             setCurrentHyp(i, Algo, -1);
           }