From: imn Date: Fri, 4 Sep 2015 12:03:02 +0000 (+0300) Subject: Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box X-Git-Tag: V7_7_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=1774f774430c19dac97550df32f8c64d53d18e30;hp=081f12102e2a2aebef15760d5f6d06b4834ae26e Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 1ec62d78e..89a7a0b6a 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -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); }