From 8c7ffa49a605ab2634bad44f158186d1fca9e2b7 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 28 Jul 2005 13:05:04 +0000 Subject: [PATCH] Fix for bug ( IPAL9603 3.0.0(current2707): SMESH ? edit mesh does not work ). --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 2a73bc993..262e33c5e 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -124,6 +124,9 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name, myIsBusy( false ) { if (!name) setName("SMESHGUI_GroupDlg"); + + mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector(); + initDialog(false); if (!theGroup->_is_nil()) init(theGroup); @@ -131,9 +134,7 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name, mySelectSubMesh->setEnabled(false); mySelectGroup->setEnabled(false); } - - mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector(); - + /* Move widget on the botton right corner of main widget */ int x, y ; mySMESHGUI->DefineDlgPosition(this, x, y); -- 2.39.2