0052451: "Assign a set of hypotheses" is disabled by mistake

This commit is contained in:
imn 2014-07-16 19:46:31 +04:00
parent 0fdf27b77b
commit 73c2ea5773

View File

@ -2736,9 +2736,9 @@ void SMESHGUI_MeshOp::setFilteredAlgoData( const int theTabIndex, const int theI
{ {
if ( myAvailableHypData[i][Algo].count() == 0 ) { if ( myAvailableHypData[i][Algo].count() == 0 ) {
availableHyps( i, Algo, anAvailableAlgs, anAvailableAlgsData ); availableHyps( i, Algo, anAvailableAlgs, anAvailableAlgsData );
for ( int i = 0 ; i < anAvailableAlgsData.count(); i++ ) for ( int j = 0 ; j < anAvailableAlgsData.count(); j++ )
{ {
HypothesisData* aCurAlgo = anAvailableAlgsData.at( i ); HypothesisData* aCurAlgo = anAvailableAlgsData.at( j );
if ( aCurAlgo->Label == algoDataIn->Label ){ if ( aCurAlgo->Label == algoDataIn->Label ){
isAvailable = true; isAvailable = true;
break; break;