Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box

This commit is contained in:
imn 2015-09-04 15:03:02 +03:00
parent 081f12102e
commit 1774f77443

View 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);
}