summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Panel.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/Panel.java')
-rw-r--r--server/src/com/vaadin/ui/Panel.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Panel.java b/server/src/com/vaadin/ui/Panel.java
index 5112a732ac..b0242cc32d 100644
--- a/server/src/com/vaadin/ui/Panel.java
+++ b/server/src/com/vaadin/ui/Panel.java
@@ -348,9 +348,8 @@ public class Panel extends AbstractSingleComponentContainer implements
public void readDesign(Element design, DesignContext designContext) {
super.readDesign(design, designContext);
// handle tabindex
- Panel def = designContext.getDefaultInstance(this.getClass());
int tabIndex = DesignAttributeHandler.readAttribute("tabindex",
- design.attributes(), def.getTabIndex(), Integer.class);
+ design.attributes(), Integer.class);
setTabIndex(tabIndex);
}