diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-28 18:03:47 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-11-28 18:03:47 +0200 |
commit | 7b0485a5838a070b971d91f8321d6bf6778c3f86 (patch) | |
tree | 22b8448b19da4499aa36ae3876c3406d04292174 /server/src/com/vaadin/ui/AbstractComponentContainer.java | |
parent | 57e82eff5ba7409b3a36f0a03448ee6e3c755d97 (diff) | |
download | vaadin-framework-7b0485a5838a070b971d91f8321d6bf6778c3f86.tar.gz vaadin-framework-7b0485a5838a070b971d91f8321d6bf6778c3f86.zip |
Moved setVisible dirty logic to AbstractComponent where it belongs (#10414)
Change-Id: I05f8b739e862c3dd4a52492f2df41862bacd3ce4
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponentContainer.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponentContainer.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponentContainer.java b/server/src/com/vaadin/ui/AbstractComponentContainer.java index 427bb3491c..4dd8a8d24a 100644 --- a/server/src/com/vaadin/ui/AbstractComponentContainer.java +++ b/server/src/com/vaadin/ui/AbstractComponentContainer.java @@ -232,19 +232,6 @@ public abstract class AbstractComponentContainer extends AbstractComponent } @Override - public void setVisible(boolean visible) { - if (isVisible() == visible) { - return; - } - - super.setVisible(visible); - // If the visibility state is toggled it might affect all children - // as well, e.g. make container visible should make children visible if - // they were only hidden because the container was hidden. - markAsDirtyRecursive(); - } - - @Override public void setWidth(float width, Unit unit) { /* * child tree repaints may be needed, due to our fall back support for |