From cadaf08d4093073b5c40e4ed8073d67a369ff4b8 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Thu, 27 Sep 2012 15:43:03 +0300 Subject: Fixed NativeButton broken styles #9724 --- .../com/vaadin/client/ui/nativebutton/NativeButtonConnector.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java b/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java index 75a4d3f893..6bcb2c8cbf 100644 --- a/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java +++ b/client/src/com/vaadin/client/ui/nativebutton/NativeButtonConnector.java @@ -29,7 +29,7 @@ import com.vaadin.client.ui.Icon; import com.vaadin.shared.communication.FieldRpc.FocusAndBlurServerRpc; import com.vaadin.shared.ui.Connect; import com.vaadin.shared.ui.button.ButtonServerRpc; -import com.vaadin.shared.ui.button.ButtonState; +import com.vaadin.shared.ui.button.NativeButtonState; import com.vaadin.ui.NativeButton; @Connect(NativeButton.class) @@ -115,8 +115,8 @@ public class NativeButtonConnector extends AbstractComponentConnector implements } @Override - public ButtonState getState() { - return (ButtonState) super.getState(); + public NativeButtonState getState() { + return (NativeButtonState) super.getState(); } @Override -- cgit v1.2.3