From: Matti Tahvonen Date: Thu, 24 Jan 2008 14:48:40 +0000 (+0000) Subject: changed setting repaintRequestListenersNotified flag to same place as in AbstractComp... X-Git-Tag: 6.7.0.beta1~5154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c94d36da0ad69393715f83b395153aa5074d9089;p=vaadin-framework.git changed setting repaintRequestListenersNotified flag to same place as in AbstractComponent (only when listener really found) svn changeset:3654/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/CustomComponent.java b/src/com/itmill/toolkit/ui/CustomComponent.java index 453c0fcfb1..2deec9aedd 100644 --- a/src/com/itmill/toolkit/ui/CustomComponent.java +++ b/src/com/itmill/toolkit/ui/CustomComponent.java @@ -293,12 +293,11 @@ public class CustomComponent implements Component { ((RepaintRequestListener) listeners[i]) .repaintRequested(event); alreadyNotified.add(listeners[i]); + repaintRequestListenersNotified = true; } } } - repaintRequestListenersNotified = true; - // Notify the parent final Component parent = getParent(); if (parent != null) {