Salome HOME
Updated copyright comment
[modules/homard.git] / src / HOMARDGUI / MonEditHypothesis.cxx
index e018777456dbdc7bc5978aed7f5144358cf44c36..795f89deeedb4eebaf1fb02e931fbdb9e5db5b28 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2024  CEA, EDF
 //
 // 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); }