From e079b751f34f10bdebaed24c27676a744b190a7c Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 13 Apr 2011 08:03:11 +0000 Subject: [PATCH] RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis. --- src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2