summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-03-31 14:15:55 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-03-31 14:15:55 +0300
commit1209082630dab1e50ab3a7d5c43e97bccd07504d (patch)
tree1b38423fd9e2cf3d1eacb3b043f9f189c80b2b3d
parent6dcbca3c93a70c2cb3472e89b36750c4c8ab69cd (diff)
downloadvaadin-framework-1209082630dab1e50ab3a7d5c43e97bccd07504d.tar.gz
vaadin-framework-1209082630dab1e50ab3a7d5c43e97bccd07504d.zip
Fix multiple icons in caption (#13516)
Change-Id: I484d53df984e21a7dfba63901aaa1a0e163ec52c
-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());