fix #9893: fix the not shown content of descriptionelementsources hotfix/5.28.1
authorKatja Luther <k.luther@bgbm.org>
Wed, 8 Dec 2021 08:43:26 +0000 (09:43 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 8 Dec 2021 09:05:43 +0000 (10:05 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementSourceElement.java

index f10345f156f7d9e8387d53dee6f56a3caff463ec..beb86153eaafa4aa7a15c4c958f96adb371f710e 100644 (file)
@@ -70,7 +70,7 @@ public class DescriptionElementSourceElement extends
        @Override
        public void setEntity(DescriptionElementSource entity) {
                super.setEntity(entity);
-               if (text_idInSource != null){
+               if (selection_reference != null){
                        if (PreferencesUtil.getBooleanValue(PreferencePredicate.ShowIdInSource.getKey())){
                            text_idInSource.setText(entity.getIdInSource());
                        }