From 1774f774430c19dac97550df32f8c64d53d18e30 Mon Sep 17 00:00:00 2001 From: imn Date: Fri, 4 Sep 2015 15:03:02 +0300 Subject: [PATCH] Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2