Project

General

Profile

Revision 2e765343

ID2e765343e89b57f860f7661ad06385608b991d94
Parent d95dc737
Child 90f49fe4

Added by Katja Luther over 1 year ago

fix #7773: update only the checkboxes state when changing rank

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/HybridDetailElement.java
82 82
        if (event == null) {
83 83
            return;
84 84
        }
85
        updateContent();
85

  
86
        Object obj = event.getSource();
87
        if (obj instanceof NameDetailElement){
88
            if (getEntity().getRank() != null){
89
                checkboxBinomHybrid.setEnabled(getEntity().getRank().isLower(Rank.GENUS()));
90
                checkboxTrinomHybrid.setEnabled(getEntity().getRank().isLower(Rank.SPECIES()));
91
            }
92
        }
93

  
86 94

  
87 95
    }
88 96

  
89 97

  
98

  
90 99
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)