mySelectionMgr( SMESH::GetSelectionMgr( theModule ) ),
myViewWindow( SMESH::GetViewWindow( theModule ) ),
mySelector( myViewWindow->GetSelector() ),
- myIsBusy( false )
+ myIsBusy( false ),
+ myActor( 0 )
{
if (!name) setName("SMESHGUI_GroupDlg");
initDialog(true);
updateButtons();
} else {
- if (aNbSel == 1) {
+ if (aNbSel == 1 && myActor ) {
QString aListStr = "";
int aNbItems = 0;
if (myTypeId == 0) {