From 852607297ec46c7d26178befc5ccf92383259f5b Mon Sep 17 00:00:00 2001
From: Patric Plitzner
Date: Mon, 23 Feb 2015 15:18:16 +0000
Subject: [PATCH] - fixed #4629 (Remove "+" symbol after section title after
the last collection item is removed)
---
.../taxeditor/ui/section/AbstractEntityCollectionSection.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java
index 92cd0bf2d..d349a64ee 100644
--- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java
+++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java
@@ -182,12 +182,13 @@ public abstract class AbstractEntityCollectionSection extends A
/**
* Call this method after dynamically changing the client area.
- * If the options changed is set to true, will also fire a state changed
+ * If the options changed is set to true
, will also fire a state changed
* event to inform the user of unsaved changes.
*
* @param changed a boolean.
*/
protected void internalUpdateSection(boolean changed){
+ setSectionTitle();
destroyDynamicContent();
if(isExpanded() || expandSectionWhenContentAvailable()) {
renderContent(isExpanded());
--
2.34.1