Salome HOME
Initial version of files for OCC developers
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_GroupDlg.cxx
index ed7295a118ce4c509100660c738021af0a52acfc..4d7445df36f047f324a43d2e40df1bc07de1c05c 100644 (file)
@@ -498,6 +498,10 @@ void SMESHGUI_GroupDlg::onGrpTypeChanged(int id)
 //=================================================================================
 void SMESHGUI_GroupDlg::setSelectionMode(int theMode)
 {
+  // PAL7314
+  if (myMesh->_is_nil())
+    return;
+  
   if (mySelectionMode != theMode) {
     mySelection->ClearIObjects();
     mySelection->ClearFilters();