From: mzn Date: Thu, 28 Jul 2005 13:05:04 +0000 (+0000) Subject: Fix for bug ( IPAL9603 3.0.0(current2707): SMESH ? edit mesh does not work ). X-Git-Tag: V3_0_1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=8c7ffa49a605ab2634bad44f158186d1fca9e2b7 Fix for bug ( IPAL9603 3.0.0(current2707): SMESH ? edit mesh does not work ). --- 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);