Project

General

Profile

« Previous | Next » 

Revision 7ccb7304

Added by Katja Luther over 5 years ago

ref #7424: after updating name editor set menu to all containers to avoid missing menu

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractHomotypicalGroupContainerE4.java
50 50
		if(redrawNeeded(homotypicalGroup)){
51 51
			setGroup(homotypicalGroup);
52 52
			redraw();
53
		}else{
54
		    setMenuToGroup();
53 55
		}
54 56
	}
55 57

  
......
59 61
		List<Synonym> synonyms = taxon.getSynonymsInGroup(homotypicalGroup);
60 62

  
61 63
		List<Synonym> presentSynonyms = new ArrayList<Synonym>();
62

  
64
		List<AbstractGroupedContainerE4> containers = getGroupedContainers();
65
		if (containers == null || containers.isEmpty() || (containers.get(0) == null && containers.size() == 1)){
66
		    return true;
67
		}
63 68
		for(AbstractGroupedContainerE4 container : getGroupedContainers()){
64 69
			if(container.getData() instanceof Synonym){
65 70
				presentSynonyms.add((Synonym) container.getData());

Also available in: Unified diff