fix #6473 Set initial marker state to true
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 21 Jun 2017 09:08:32 +0000 (11:08 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 21 Jun 2017 09:08:32 +0000 (11:08 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java

index 0185c840a423f144abe7c281a8a9617a8c44cfad..4ed1f7895b612587243defa575588822aa14532d 100644 (file)
@@ -32,7 +32,9 @@ public class MarkerSection extends AbstractUnboundEntityCollectionSection<Annota
        /** {@inheritDoc} */
        @Override
        public Marker createNewElement() {
-               return Marker.NewInstance();
+               Marker marker = Marker.NewInstance();
+               marker.setFlag(true);
+        return marker;
        }
 
        /** {@inheritDoc} */