Salome HOME
0052451: "Assign a set of hypotheses" is disabled by mistake
authorimn <imn@opencascade.com>
Wed, 16 Jul 2014 15:46:31 +0000 (19:46 +0400)
committerimn <imn@opencascade.com>
Wed, 16 Jul 2014 15:46:31 +0000 (19:46 +0400)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index c40e098..8a3346e 100644 (file)
@@ -2736,9 +2736,9 @@ void SMESHGUI_MeshOp::setFilteredAlgoData( const int theTabIndex, const int theI
         {
           if ( myAvailableHypData[i][Algo].count() == 0 ) {
             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 ){
                 isAvailable = true;
                 break;