diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-10-01 18:25:25 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-10-01 18:25:25 +0000 |
commit | 3e9711d9fcb819bdc3d41343f71aaf05a5b8daa2 (patch) | |
tree | ad825d66061a6f72a131c5e4fc08eba7620833f2 /src/com/itmill/toolkit/ui/CustomComponent.java | |
parent | 1daef1c2e935e49a54ed1d74325c0cc227da7e1d (diff) | |
download | vaadin-framework-3e9711d9fcb819bdc3d41343f71aaf05a5b8daa2.tar.gz vaadin-framework-3e9711d9fcb819bdc3d41343f71aaf05a5b8daa2.zip |
Fixes #950
svn changeset:2406/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/CustomComponent.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/CustomComponent.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/ui/CustomComponent.java b/src/com/itmill/toolkit/ui/CustomComponent.java index abf546641f..79c2a5f416 100644 --- a/src/com/itmill/toolkit/ui/CustomComponent.java +++ b/src/com/itmill/toolkit/ui/CustomComponent.java @@ -155,8 +155,10 @@ public class CustomComponent implements Component { * @see com.itmill.toolkit.ui.Component#attach() */ public void attach() { - if (root != null) + if (root != null) { root.attach(); + requestRepaint(); + } } /** |