summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/TabSheet.java
diff options
context:
space:
mode:
authorAnna Miroshnik <anna.miroshnik@arcadia.spb.ru>2014-12-08 17:25:00 +0300
committerVaadin Code Review <review@vaadin.com>2014-12-09 08:48:04 +0000
commit7e8b23a73a5dd1bef54b8fc5ddc4d3c431c298af (patch)
tree0a29314717ea179d47e364b08a0c126f47b438f0 /server/src/com/vaadin/ui/TabSheet.java
parent285b4bc21f85a4570b5f3b45fc4fd120104b4d11 (diff)
downloadvaadin-framework-7e8b23a73a5dd1bef54b8fc5ddc4d3c431c298af.tar.gz
vaadin-framework-7e8b23a73a5dd1bef54b8fc5ddc4d3c431c298af.zip
Hierarchy change markAsDirty to AbstractComponentContainer (#14227)
Change-Id: I7a05ad72dfa3d16d85aa4d0cdd235572ec01e31a
Diffstat (limited to 'server/src/com/vaadin/ui/TabSheet.java')
-rw-r--r--server/src/com/vaadin/ui/TabSheet.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/server/src/com/vaadin/ui/TabSheet.java b/server/src/com/vaadin/ui/TabSheet.java
index d3410464a2..88002104b1 100644
--- a/server/src/com/vaadin/ui/TabSheet.java
+++ b/server/src/com/vaadin/ui/TabSheet.java
@@ -195,7 +195,6 @@ public class TabSheet extends AbstractComponentContainer implements Focusable,
if (component != null && components.contains(component)) {
int componentIndex = components.indexOf(component);
-
super.removeComponent(component);
keyMapper.remove(component);
components.remove(component);
@@ -232,7 +231,6 @@ public class TabSheet extends AbstractComponentContainer implements Focusable,
fireSelectedTabChange();
}
}
- markAsDirty();
}
}
@@ -394,8 +392,9 @@ public class TabSheet extends AbstractComponentContainer implements Focusable,
setSelected(tabComponent);
fireSelectedTabChange();
}
+
super.addComponent(tabComponent);
- markAsDirty();
+
return tab;
}
}
@@ -967,16 +966,16 @@ public class TabSheet extends AbstractComponentContainer implements Focusable,
/**
* Gets the icon alt text for the tab.
- *
+ *
* @since 7.2
*/
public String getIconAlternateText();
/**
* Sets the icon alt text for the tab.
- *
+ *
* @since 7.2
- *
+ *
* @param iconAltText
* the icon to set
*/