From: rnv Date: Wed, 13 Apr 2011 08:03:11 +0000 (+0000) Subject: RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing... X-Git-Tag: V6_3_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e079b751f34f10bdebaed24c27676a744b190a7c;p=modules%2Fsmesh.git RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx index 383d3d5dc..d3775452a 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx @@ -342,8 +342,9 @@ namespace { { StdMeshersGUI_ObjectReferenceParamWdg* w = new StdMeshersGUI_ObjectReferenceParamWdg( filter, 0, /*multiSel=*/true); - w->SetObjects( objEntries ); + //RNV: Firstly, activate selection, then set objects w->activateSelection(); + w->SetObjects( objEntries ); return w; }