Project

General

Profile

Revision 94d05504

ID94d05504845df5c427bff9625a89e80e873b05d7
Parent 9ad85674
Child d17343e9

Added by Katja Luther over 3 years ago

fix #6919:toggleableTextFields should have default color if not protected

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/ToggleableTextElement.java
150 150
		text_cache.setEnabled(enabled);
151 151
       	button_toggle.setGrayed(enabled);
152 152
		button_toggle.setSelection(enabled);
153
		String symbolicName = enabled ? Resources.COLOR_FONT_DEFAULT : Resources.COLOR_TEXT_DISABLED;
154
		text_cache.setForeground(StoreUtil.getColor(symbolicName));
153
		Color color = enabled ? null : StoreUtil.getColor(Resources.COLOR_TEXT_DISABLED);
154
		
155
		text_cache.setForeground(color);
155 156
	}
156 157

  
157 158
	/* (non-Javadoc)

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)