Salome HOME
Solving more issues. Carefull var init in constructor to avoid compilation warnings...
[plugins/ghs3dplugin.git] / src / GUI / GHS3DPluginGUI_HypothesisCreator.cxx
index 2589be3438fc78e739012c21b903769cccec5ba7..05e1e7f6f47ee526238da0b375e99eb91d1afaf4 100644 (file)
@@ -304,12 +304,12 @@ GHS3DPluginGUI_HypothesisCreator::GHS3DPluginGUI_HypothesisCreator( const QStrin
     myOptimizationLevelCombo(0),
     myMinSizeCheck(0),
     myMaxSizeCheck(0),
-    myNumOfThreadsCheck(0),
     myMinSizeSpin(0),
     myMaxSizeSpin(0),
+    myNumOfThreadsCheck(0),
+    myNumOfThreadsSpin(0),
     myGradationCheck(0),
     myGradationSpin(0),
-    myNumOfThreadsSpin(0),
     myUseProximityGroup(0),
     myNbProximityLayers(0),
     myToMakeGroupsOfDomains(0),
@@ -380,7 +380,8 @@ void GHS3DPluginGUI_HypothesisCreator::onRadioButtomSelect()
     myAdvWidget->initialMemoryCheck ->setEnabled( true );
 
     myAdvWidget->EnableAdvancedOptions( true );
-
+    myEnfGroup->setEnabled( true );
+    myEnfMeshGroup->setEnabled( true );
   }
   else if ( myRadioBottomGroup->checkedId() == GHS3DPlugin_Hypothesis::MGTetraHPC )
   {
@@ -392,6 +393,8 @@ void GHS3DPluginGUI_HypothesisCreator::onRadioButtomSelect()
     myAdvWidget->maxMemoryCheck     ->setEnabled( false );
     myAdvWidget->initialMemoryCheck ->setEnabled( false );    
     myAdvWidget->EnableAdvancedOptions( false );
+    myEnfGroup->setEnabled( false );
+    myEnfMeshGroup->setEnabled( false );
   }    
 
 }