X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_MeshOp.cxx;h=80b73321a47b218033a43fb7dac1f53d90cce8c0;hp=0b7f02dd7f25620476b9ae44480a8e3133dfee6c;hb=2de9636a4fa7078d1d75871e8601738acf7c5d3b;hpb=92d86c3c19d1957657fb0e39091396bd3fcefccf diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 0b7f02dd7..80b73321a 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -1292,6 +1292,7 @@ void SMESHGUI_MeshOp::createHypothesis(const int theDim, initHypCreator( aCreator ); myDlg->setEnabled( false ); + myDlg->hide(); aCreator->create(initParamHyp, aHypName, myDlg, this, SLOT( onHypoCreated( int ) ) ); dialog = true; } @@ -1323,6 +1324,7 @@ void SMESHGUI_MeshOp::onHypoCreated( int result ) int obj = myDlg->getActiveObject(); onActivateObject( obj ); // Issue 0020170. Restore filters myDlg->setEnabled( true ); + myDlg->show(); } _PTR(SComponent) aFather = SMESH::getStudy()->FindComponent("SMESH"); @@ -1379,6 +1381,7 @@ void SMESHGUI_MeshOp::onEditHyp( const int theHypType, const int theIndex ) removeCustomFilters(); // Issue 0020170 myDlg->setEnabled( false ); + myDlg->hide(); aCreator->edit( aHyp.in(), aHypItem.second, dlg(), this, SLOT( onHypoEdited( int ) ) ); } @@ -1397,6 +1400,7 @@ void SMESHGUI_MeshOp::onHypoEdited( int /*result*/ ) int obj = myDlg->getActiveObject(); onActivateObject( obj ); // Issue 0020170. Restore filters myDlg->setEnabled( true ); + myDlg->show(); } //================================================================================