From 15bac964f9685cab2d0395f97ff8fb177fbd9fa8 Mon Sep 17 00:00:00 2001 From: GERALD NICOLAS Date: Mon, 7 Jan 2019 14:42:02 +0100 Subject: [PATCH] Coordination --- src/HOMARDGUI/MonCreateListGroup.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/HOMARDGUI/MonCreateListGroup.cxx b/src/HOMARDGUI/MonCreateListGroup.cxx index 759c4dd9..41562d41 100644 --- a/src/HOMARDGUI/MonCreateListGroup.cxx +++ b/src/HOMARDGUI/MonCreateListGroup.cxx @@ -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() -- 2.39.2