Revision 20b35d99
Added by Patrick Plitzner almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/StoreUtil.java | ||
---|---|---|
221 | 221 |
int style = ExpandableComposite.TWISTIE; |
222 | 222 |
String prefKey = getPrefKey(clazz, input); |
223 | 223 |
if(PreferencesUtil.contains(prefKey)){ |
224 |
style = PreferencesUtil.getStringValue(prefKey)==CdmSectionPart.EXPANDED?style |= ExpandableComposite.EXPANDED:style;
|
|
224 |
style = PreferencesUtil.getStringValue(prefKey).equals(CdmSectionPart.EXPANDED)?style |= ExpandableComposite.EXPANDED:style;
|
|
225 | 225 |
} |
226 | 226 |
else{ |
227 | 227 |
style = initiallyExpanded?style |= ExpandableComposite.EXPANDED:style; |
Also available in: Unified diff
ref #8260 Fix string comparison