Project

General

Profile

Revision 8af14eec

ID8af14eeca7f4721a12293194b6504316e1288f38
Parent dce889fe
Child a0f4664b

Added by Katja Luther 12 months ago

fix IndexOutOfBoundsException in TermComboElement

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/term/TermComboElement.java
298 298
	/** {@inheritDoc} */
299 299
	@Override
300 300
    public void widgetSelected(SelectionEvent e) {
301
		selection = terms.get(combo.getSelectionIndex());
301
	    if (e.getSource().equals(combo) && combo.getSelectionIndex() >= 0){
302
	        selection = terms.get(combo.getSelectionIndex());
303
	    }
302 304
		firePropertyChangeEvent(new CdmPropertyChangeEvent(this, e));
303 305
	}
304 306

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)