diff options
author | Artur Signell <artur@vaadin.com> | 2013-10-14 22:02:28 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-10-18 12:48:40 +0000 |
commit | c90c0f280c37f80bcd4b4d7891ac9455436a7097 (patch) | |
tree | 34a1366d1bb05607fbb72bbc831ee83d41a0a241 /client | |
parent | 7cba636d8938c4491ae4c1995064ed0ef83ccdd7 (diff) | |
download | vaadin-framework-c90c0f280c37f80bcd4b4d7891ac9455436a7097.tar.gz vaadin-framework-c90c0f280c37f80bcd4b4d7891ac9455436a7097.zip |
Use alternate icon text for NativeButton (#12780)
Change-Id: I1390a3f5914977895c4111d44844c7be8ed46a61
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java b/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java index 11a76b483b..2253397b16 100644 --- a/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java +++ b/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java @@ -94,7 +94,7 @@ public class NativeButtonConnector extends AbstractComponentConnector implements getWidget().icon.getElement(), getWidget().captionElement); } - getWidget().icon.setUri(getIcon()); + getWidget().icon.setUri(getIcon(), getState().iconAltText); } else { if (getWidget().icon != null) { getWidget().getElement().removeChild( |