From: dmv Date: Wed, 12 May 2010 05:57:22 +0000 (+0000) Subject: 0020863: [CEA 403] SMESH hypotheses GUI destruction X-Git-Tag: V5_1_4~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e582dad32c106acc338a829cfc9c4ea71f68f70;p=modules%2Fsmesh.git 0020863: [CEA 403] SMESH hypotheses GUI destruction --- diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 6f7237c9f..b6e28773a 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -122,6 +122,7 @@ void SMESHGUI_GenericHypothesisCreator::editHypothesis( SMESH::SMESH_Hypothesis_ SMESHGUI_HypothesisDlg* Dlg = new SMESHGUI_HypothesisDlg( this, theParent ); connect( Dlg, SIGNAL( finished( int ) ), this, SLOT( onDialogFinished( int ) ) ); connect( this, SIGNAL( finished( int ) ), obj, slot.toLatin1().constData() ); + connect( SMESHGUI::GetSMESHGUI(), SIGNAL( SignalCloseAllDialogs() ), Dlg, SLOT( reject() )); myDlg = Dlg; QFrame* fr = buildFrame();