Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Join modifications from branch BR_3_1_0deb
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_CreateHypothesesDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_CreateHypothesesDlg.cxx
b/src/SMESHGUI/SMESHGUI_CreateHypothesesDlg.cxx
index 68d2f10c8844c1230c7f31d15ee8c5e6d80de649..32e4860ac03cfefe6db9d5d519fb4abaa446c4e8 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_CreateHypothesesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_CreateHypothesesDlg.cxx
@@
-205,8
+205,13
@@
void SMESHGUI_CreateHypothesesDlg::ClickOnApply()
SMESHGUI_GenericHypothesisCreator* aCreator =
SMESH::GetHypothesisCreator(sHypType);
SMESHGUI_GenericHypothesisCreator* aCreator =
SMESH::GetHypothesisCreator(sHypType);
- // Create hypothesis/algorithm
- aCreator->CreateHypothesis(myIsAlgo, this);
+ if( aCreator )
+ // Create hypothesis/algorithm
+ aCreator->create( myIsAlgo, this );
+ else
+ {
+ // report about error
+ }
}
// buttonApply->setEnabled(FALSE);
}
// buttonApply->setEnabled(FALSE);