X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI.cxx;h=fa48527deebd38095f1681559cb3dfb86c824536;hb=1d0ad233cfb9576030f41a0d04ab46f33eaab17e;hp=a5acb3b0637a954d88b195cbbc65675dc987dc94;hpb=8672ad3e7621ac25fffa8517599afa84ffea509a;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI.cxx b/src/StdMeshersGUI/StdMeshersGUI.cxx index a5acb3b06..fa48527de 100644 --- a/src/StdMeshersGUI/StdMeshersGUI.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI.cxx @@ -99,9 +99,16 @@ void StdMeshersGUI_HypothesisCreator::CreateHypothesis else { if ( StdMeshersGUI_Parameters::HasParameters( myHypType )) - // Show Dialog for hypothesis creation - //StdMeshersGUI_CreateStdHypothesisDlg *aDlg = - new StdMeshersGUI_CreateStdHypothesisDlg(myHypType, parent, ""); + { + // Show Dialog for hypothesis creation + StdMeshersGUI_CreateStdHypothesisDlg *aDlg = + new StdMeshersGUI_CreateStdHypothesisDlg(myHypType, parent, ""); + /* Move widget on the botton right corner of main widget */ +// int x, y ; +// mySMESHGUI->DefineDlgPosition( aDlg, x, y ) ; +// aDlg->move( x, y ) ; + aDlg->exec() ; /* displays Dialog */ + } else SMESH::CreateHypothesis(myHypType, aHypName, isAlgo); // without GUI }