From 20061d9dd9f0f5527465b013778bb074ecffd2ea Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 14 Mar 2007 09:32:28 +0000 Subject: [PATCH] Fix bug 15194: Warning '..already exists.' on Create submesh, though it is done for the first time. It's impossible to answer No. --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 5a692f0e0..26da616e7 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -1386,8 +1386,8 @@ bool SMESHGUI_MeshOp::createSubMesh( QString& theMess ) } } - // deselect geometry: next submesh sould be created on other subshape - myDlg->selectObject( "", SMESHGUI_MeshDlg::Geom, "" ); + // deselect geometry: next submesh should be created on other subshape + myDlg->clearSelection( SMESHGUI_MeshDlg::Geom ); selectObject( _PTR(SObject)() ); selectionDone();