Project

General

Profile

« Previous | Next » 

Revision c092061f

Added by Patrick Plitzner about 6 years ago

fix #6455 Enable DELETE for country for FieldUnits

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldUnitGeneralDetailElement.java
75 75
        combo_specorobstype = formFactory.createEnumComboElement(SpecimenOrObservationType.class, formElement, style);
76 76
        combo_specorobstype.setSelection(entity.getType());
77 77
        selection_country = formFactory.createSelectionElement(NamedArea.class, //getConversationHolder(),
78
                formElement, "Country", entity.getCountry(), EntitySelectionElement.NOTHING, style);
78
                formElement, "Country", entity.getCountry(), EntitySelectionElement.DELETABLE, style);
79 79
        if(PreferencesUtil.isCollectingAreaInGeneralSection()){
80 80
            section_collectingAreas = formFactory.createCollectingAreasDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
81 81
            section_collectingAreas.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));

Also available in: Unified diff