From 7b0485a5838a070b971d91f8321d6bf6778c3f86 Mon Sep 17 00:00:00 2001 From: Artur Signell <artur@vaadin.com> Date: Wed, 28 Nov 2012 18:03:47 +0200 Subject: Moved setVisible dirty logic to AbstractComponent where it belongs (#10414) Change-Id: I05f8b739e862c3dd4a52492f2df41862bacd3ce4 --- .../src/com/vaadin/ui/AbstractSingleComponentContainer.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'server/src/com/vaadin/ui/AbstractSingleComponentContainer.java') diff --git a/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java b/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java index 7297318e95..5ff56d46dc 100644 --- a/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java +++ b/server/src/com/vaadin/ui/AbstractSingleComponentContainer.java @@ -102,19 +102,6 @@ public abstract class AbstractSingleComponentContainer extends fireEvent(new ComponentDetachEvent(this, component)); } - @Override - public void setVisible(boolean visible) { - if (isVisible() == visible) { - return; - } - - super.setVisible(visible); - // If the visibility state is toggled it might affect all children - // aswell, e.g. make container visible should make children visible if - // they were only hidden because the container was hidden. - markAsDirtyRecursive(); - } - @Override public Component getContent() { return content; -- cgit v1.2.3