Project

General

Profile

« Previous | Next » 

Revision 3fa460e5

Added by Katja Luther almost 8 years ago

#4018 let the right side of the translation wizard empty, fix the save problem for adding a neww representation for terms

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/CdmSectionPart.java
10 10

  
11 11
package eu.etaxonomy.taxeditor.view.detail;
12 12

  
13
import java.awt.Event;
14
import java.util.EventObject;
15

  
13 16
import org.eclipse.jface.util.IPropertyChangeListener;
14 17
import org.eclipse.jface.util.PropertyChangeEvent;
15 18
import org.eclipse.swt.widgets.Control;
......
121 124
		if (event != null) {
122 125

  
123 126
			Object eventSource = event.getSource();
127
			if (eventSource instanceof EventObject){
128
				eventSource = ((EventObject)eventSource).getSource();
129
			}
124 130
			Control[] children = formSection.getLayoutComposite().getChildren();
125 131
			boolean containsElement = false;
126 132
			for (Control control : children) {

Also available in: Unified diff