]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box
authorimn <imn@opencascade.com>
Fri, 4 Sep 2015 12:03:02 +0000 (15:03 +0300)
committerimn <imn@opencascade.com>
Fri, 4 Sep 2015 12:03:02 +0000 (15:03 +0300)
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);
           }