Revision e5b6bb85
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/wizard/AvailableDistributionStatusPage.java | ||
---|---|---|
12 | 12 |
import java.util.List; |
13 | 13 |
import java.util.Map; |
14 | 14 |
|
15 |
import org.apache.commons.lang.StringUtils; |
|
15 | 16 |
import org.eclipse.swt.widgets.Composite; |
16 | 17 |
|
17 | 18 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
... | ... | |
54 | 55 |
String checkedValues = null; |
55 | 56 |
if (localPref || pref == null){ |
56 | 57 |
checkedValues = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionStatus.getKey(), true); |
58 |
if (StringUtils.isBlank(checkedValues) && pref != null){ |
|
59 |
checkedValues = pref.getValue(); |
|
60 |
} |
|
57 | 61 |
}else { |
58 | 62 |
checkedValues = pref.getValue(); |
59 | 63 |
} |
Also available in: Unified diff
ref #7849: show db preference for status and area vocabularies if no local prefs exist