]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Coordination
authorGERALD NICOLAS <gerald.nicolas@edf.fr>
Mon, 7 Jan 2019 13:42:02 +0000 (14:42 +0100)
committerGERALD NICOLAS <gerald.nicolas@edf.fr>
Mon, 7 Jan 2019 13:42:02 +0000 (14:42 +0100)
src/HOMARDGUI/MonCreateListGroup.cxx

index 759c4dd9d2bf5e05cda623af75d8b82178cc7502..41562d41b1ad7cbc8ee86d3db980392601c545eb 100644 (file)
@@ -107,9 +107,12 @@ bool MonCreateListGroup::PushOnApply()
 void MonCreateListGroup::PushOnOK()
 // ------------------------------------------------------------------------
 {
-     if (PushOnApply()) this->close();
-     if ( _parentHyp )   { _parentHyp->raise(); _parentHyp->activateWindow(); };
-     if ( _parentBound ) { _parentBound->raise(); _parentBound->activateWindow(); };
+    if (PushOnApply())
+    {
+      this->close();
+      if ( _parentHyp )   { _parentHyp->raise(); _parentHyp->activateWindow(); };
+      if ( _parentBound ) { _parentBound->raise(); _parentBound->activateWindow(); };
+    }
 }
 // ------------------------------------------------------------------------
 void MonCreateListGroup::PushOnHelp()