fix #8954: fix expansion state
authorKatja Luther <k.luther@bgbm.org>
Wed, 29 Apr 2020 13:28:32 +0000 (15:28 +0200)
committerKatja Luther <k.luther@bgbm.org>
Wed, 29 Apr 2020 13:28:32 +0000 (15:28 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/StoreUtil.java

index 73485630e27cd84c8bc203286f64c7bc4043841e..5d0d05d4c7ed07f5e949dd35c5af3fb1dc5ef353 100644 (file)
@@ -227,7 +227,7 @@ public class StoreUtil extends AbstractUtility {
         int style = ExpandableComposite.TWISTIE;
         String prefKey = getPrefKey(clazz, input);
         if(PreferencesUtil.contains(prefKey)){
-            String string = PreferencesUtil.getStringValue(prefKey);
+            String string = PreferencesUtil.getStringValue(prefKey, true);
             if (string != null){
                 style = string.equals(CdmSectionPart.EXPANDED)?style |= ExpandableComposite.EXPANDED:style;
             }else{