Fix for Bug PAL7766 ( An exception appears during construction of a group in the "Mesh" module ).

This commit is contained in:
mzn 2005-01-21 13:15:13 +00:00
parent f6497472ab
commit e3fe383c97
2 changed files with 5 additions and 0 deletions

View File

@ -1888,6 +1888,8 @@ void SMESHGUI_FilterDlg::onDeactivate()
void SMESHGUI_FilterDlg::enterEvent( QEvent* )
{
// mySMESHGUI->EmitSignalDeactivateDialog();
mySMESHGUI->SetActiveDialogBox( (QDialog*)this );
mySMESHGUI->ResetState();
setEnabled( true );
}

View File

@ -1342,6 +1342,7 @@ void SMESHGUI_GroupDlg::onClose()
//=======================================================================
void SMESHGUI_GroupDlg::onDeactivate()
{
mySMESHGUI->ResetState();
setEnabled( false );
}
@ -1356,6 +1357,8 @@ void SMESHGUI_GroupDlg::enterEvent( QEvent* )
setEnabled( true );
mySelectionMode = -1;
setSelectionMode( myTypeId );
mySMESHGUI->SetActiveDialogBox( (QDialog*)this ) ;
mySMESHGUI->SetState(800);
}
}