Salome HOME
Copyright update 2022
[modules/homard.git] / src / HOMARDGUI / MonEditHypothesis.cxx
index e018777456dbdc7bc5978aed7f5144358cf44c36..363d0aceb8e20f7dc5ccd6a4b2b31580a22a32d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -149,12 +149,18 @@ void MonEditHypothesis::InitValEdit()
       CBOutputDiameter->setEnabled(false);
     }
     else { CBOutputDiameter->setVisible(0) ; }
-/*    if ( ExtraOutput % 7 == 0 )
+    if ( ExtraOutput % 7 == 0 )
     {
       CBOutputParent->setChecked(true);
       CBOutputParent->setEnabled(false);
     }
-    else { CBOutputParent->setVisible(0) ; }*/
+    else { CBOutputParent->setVisible(0) ; }
+    if ( ExtraOutput % 11 == 0 )
+    {
+      CBOutputVoisins->setChecked(true);
+      CBOutputVoisins->setEnabled(false);
+    }
+    else { CBOutputVoisins->setVisible(0) ; }
   }
   else
   { GBAdvancedOptions->setVisible(0); }