/** if the layer deleted is the current source layer, changes the units option to map units */
  @Override
  protected final void removedLayerActions(ILayer layer) {

    super.removedLayerActions(layer);

    ILayer sourceLayer = getSourceLayer();

    if (sourceLayer.equals(layer)) {

      this.currentUnits = null;
      setSelectionUnitOption(this.radioMapUnits);
    }

    populate();
  }