minor
authorKatja Luther <k.luther@bgbm.org>
Thu, 20 Oct 2016 12:13:31 +0000 (14:13 +0200)
committerKatja Luther <k.luther@bgbm.org>
Thu, 20 Oct 2016 12:13:31 +0000 (14:13 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameTypeDesignationElement.java

index 291694aae6920ff9f6584ae48dbe4f4cd3eff82a..b1d7dc80bbe42004bda451b9ede181871bc944dd 100644 (file)
@@ -71,7 +71,7 @@ public class NameTypeDesignationElement extends
 
                selection_typeName.setEntity((TaxonNameBase) HibernateProxyHelper.deproxy(entity.getTypeName()));
 
-               combo_typeStatus.setSelection((NameTypeDesignationStatus) HibernateProxyHelper.deproxy(entity.getTypeStatus()));
+               combo_typeStatus.setSelection(HibernateProxyHelper.deproxy(entity.getTypeStatus(), NameTypeDesignationStatus.class));
 
                checkbox_notDesignated.setSelection(entity.isNotDesignated());
        }