]> source.dussan.org Git - vaadin-framework.git/commitdiff
Internally remove component before detach listener is called
authorArtur Signell <artur@vaadin.com>
Tue, 10 Apr 2012 18:27:32 +0000 (21:27 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 10 Apr 2012 18:28:35 +0000 (21:28 +0300)
src/com/vaadin/ui/AbsoluteLayout.java

index d347b74829593c226ea296d3f729e1641e1c6b53..a65b20a54e54fe6ed78de1422ebfa733204caaf7 100644 (file)
@@ -15,7 +15,6 @@ import com.vaadin.event.LayoutEvents.LayoutClickNotifier;
 import com.vaadin.terminal.Sizeable;
 import com.vaadin.terminal.gwt.client.Connector;
 import com.vaadin.terminal.gwt.client.MouseEventDetails;
-import com.vaadin.terminal.gwt.client.ui.AbsoluteLayoutConnector;
 import com.vaadin.terminal.gwt.client.ui.AbsoluteLayoutConnector.AbsoluteLayoutServerRPC;
 import com.vaadin.terminal.gwt.client.ui.AbsoluteLayoutConnector.AbsoluteLayoutState;
 import com.vaadin.terminal.gwt.client.ui.LayoutClickEventHandler;
@@ -179,8 +178,8 @@ public class AbsoluteLayout extends AbstractLayout implements
      */
     @Override
     public void removeComponent(Component c) {
-        super.removeComponent(c);
         internalRemoveComponent(c);
+        super.removeComponent(c);
         requestRepaint();
     }