Project

General

Profile

« Previous | Next » 

Revision b1d5c0e2

Added by Katja Luther almost 3 years ago

ref #8776: disable allowDuplicate flag if tree contains duplicates

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/feature/TermTreeDetailElement.java
53 53
                formElement, "Title Cache", entity.getTitleCache(), style);
54 54

  
55 55
	    allowDuplicates = formFactory.createCheckbox(formElement, "Allow duplicates", entity.isAllowDuplicate(), style);
56
	    if (entity.isContainsDuplicates() && entity.isAllowDuplicate()){
57
	        allowDuplicates.setEnabled(false);
58
	    }
56 59
	    orderRelevant = formFactory.createCheckbox(formElement, "Order relevant", entity.isOrderRelevant(), style);
57 60

  
58 61
	    isFlat = formFactory.createCheckbox(formElement, "Is flat", entity.isFlat(), style);

Also available in: Unified diff