aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/CustomComponent.java
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-10-01 18:25:25 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-10-01 18:25:25 +0000
commit3e9711d9fcb819bdc3d41343f71aaf05a5b8daa2 (patch)
treead825d66061a6f72a131c5e4fc08eba7620833f2 /src/com/itmill/toolkit/ui/CustomComponent.java
parent1daef1c2e935e49a54ed1d74325c0cc227da7e1d (diff)
downloadvaadin-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.java4
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();
+ }
}
/**