Fix for bug ( IPAL9603 3.0.0(current2707): SMESH ? edit mesh does not work ).

This commit is contained in:
mzn 2005-07-28 13:05:04 +00:00
parent 8aa241cf5f
commit 8c7ffa49a6

View File

@ -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);
@ -132,8 +135,6 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name,
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);