Project

General

Profile

« Previous | Next » 

Revision 2e765343

Added by Katja Luther over 5 years 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