Project

General

Profile

« Previous | Next » 

Revision d834ea10

Added by Cherian Mathew over 11 years ago

Fixed setEnabled function to disable input and text widgets only when enabled = true (ticket 3183)

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/TaxonNameEditor.java
916 916
		}
917 917
		
918 918
		// send an empty selection to the current provider - TODO only on error ???
919
		getManagedForm().setInput(null);
920
		
921
		for(AbstractGroupedContainer groupedContainer : getGroupedContainers()){
922
			groupedContainer.setBackground(background);
919
		if (!enabled) {
920
			getManagedForm().setInput(null);
921

  
922
			for (AbstractGroupedContainer groupedContainer : getGroupedContainers()) {
923
				groupedContainer.setBackground(background);
924
			}
923 925
		}
924 926
		getControl().setBackground(background);
925 927
	}

Also available in: Unified diff