Project

General

Profile

« Previous | Next » 

Revision 63032fd5

Added by Katja Luther about 5 years ago

dispose old editorInput, when setting new one

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java
207 207

  
208 208

  
209 209
		// Redraw composite
210
		managedForm.reflow(true);
210
//		managedForm.reflow(true);
211 211
		managedForm.refresh();
212 212
	}
213 213

  
......
382 382
	}
383 383

  
384 384
	public void init(TaxonEditorInputE4 input) {
385

  
385
		if (this.input != null){
386
			this.input.dispose();
387
		}
386 388
		if (!(input != null)) {
387 389
            MessagingUtils.error(this.getClass(), new Exception(Messages.TaxonNameEditor_INVALID_INPUT));
388 390
            return;

Also available in: Unified diff