Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7286f
)
0020378: selection is empty after "cancel" in the hypothesis edition dialog box
author
asl
<asl@opencascade.com>
Tue, 15 Sep 2009 12:20:05 +0000
(12:20 +0000)
committer
asl
<asl@opencascade.com>
Tue, 15 Sep 2009 12:20:05 +0000
(12:20 +0000)
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx
b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx
index e9391ba04d8d484f699768987f8c5b78ac01cd64..f459f6a196dd90ffac8ae13ea11bea2aad4853cb 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
@@
-287,8
+287,11
@@
void SMESHGUI_GenericHypothesisCreator::onDialogFinished( int result )
SMESHGUI::GetSMESHGUI()->updateObjBrowser( true, 0 );
myHypo = SMESH::SMESH_Hypothesis::_nil();
myInitParamsHypo = SMESH::SMESH_Hypothesis::_nil();
- myDlg->close(); myDlg = 0;
- //delete myDlg; myDlg = 0;
+
+ disconnect( myDlg, SIGNAL( finished( int ) ), this, SLOT( onDialogFinished( int ) ) );
+ myDlg->close();
+ //delete myDlg;
+ myDlg = 0;
emit finished( result );
}