]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020863: [CEA 403] SMESH hypotheses GUI destruction
authordmv <dmv@opencascade.com>
Wed, 12 May 2010 05:57:22 +0000 (05:57 +0000)
committerdmv <dmv@opencascade.com>
Wed, 12 May 2010 05:57:22 +0000 (05:57 +0000)
src/SMESHGUI/SMESHGUI_Hypotheses.cxx

index 6f7237c9f198592560ae6c4d85eb3f393aee7d1a..b6e28773aa4823ef67a79ee9cc9e6ff5260fee95 100644 (file)
@@ -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();