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 ) myIsBusy( false )
{ {
if (!name) setName("SMESHGUI_GroupDlg"); if (!name) setName("SMESHGUI_GroupDlg");
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
initDialog(false); initDialog(false);
if (!theGroup->_is_nil()) if (!theGroup->_is_nil())
init(theGroup); init(theGroup);
@ -131,9 +134,7 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name,
mySelectSubMesh->setEnabled(false); mySelectSubMesh->setEnabled(false);
mySelectGroup->setEnabled(false); mySelectGroup->setEnabled(false);
} }
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
/* Move widget on the botton right corner of main widget */ /* Move widget on the botton right corner of main widget */
int x, y ; int x, y ;
mySMESHGUI->DefineDlgPosition(this, x, y); mySMESHGUI->DefineDlgPosition(this, x, y);