summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-28 15:02:53 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-28 15:15:13 +0200
commit0b9750bfd02ea5709098a33851b0b768a90e51af (patch)
tree7477180f679e94dec87616750ecf3e61f5418dd6
parentd8558015efd7ee3feb8f3987fda300c2edafb842 (diff)
downloadvaadin-framework-0b9750bfd02ea5709098a33851b0b768a90e51af.tar.gz
vaadin-framework-0b9750bfd02ea5709098a33851b0b768a90e51af.zip
Add some missing dirty state updates (#8313)
-rw-r--r--src/com/vaadin/terminal/gwt/client/LayoutManager.java1
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/LayoutManager.java b/src/com/vaadin/terminal/gwt/client/LayoutManager.java
index b362d140f2..3adfc017fd 100644
--- a/src/com/vaadin/terminal/gwt/client/LayoutManager.java
+++ b/src/com/vaadin/terminal/gwt/client/LayoutManager.java
@@ -240,6 +240,7 @@ public class LayoutManager {
for (Element element : nonPaintableElements) {
MeasuredSize measuredSize = getMeasuredSize(element, null);
measuredAndUpdate(element, measuredSize);
+ measuredSize.clearDirtyState();
}
}
diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java
index d3cbddd57e..079cc4eb3b 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/AbstractOrderedLayoutConnector.java
@@ -46,6 +46,7 @@ public abstract class AbstractOrderedLayoutConnector extends
caption.updateCaption(uidl);
} else {
layout.setCaption(component.getWidget(), null);
+ getLayoutManager().setNeedsUpdate(this);
}
}