summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/Slot.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/Slot.java b/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
index cdfffeaadd..03038eefd3 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/Slot.java
@@ -516,7 +516,7 @@ public final class Slot extends SimplePanel {
// Icon
if (this.icon != null) {
- icon.getElement().removeFromParent();
+ this.icon.getElement().removeFromParent();
}
if (icon != null) {
caption.insertFirst(icon.getElement());