From 22c39d36f81a6d37f729d67135487ef10cb8dc5a Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 13 Apr 2017 10:52:19 +0300 Subject: Correctly set ListSelect style names Fixes #8901 --- .../src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java index a749786ae3..aae8f428da 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java @@ -25,8 +25,9 @@ import com.vaadin.shared.ui.abstractmultiselect.AbstractMultiSelectState; * @since 8.0 */ public class ListSelectState extends AbstractMultiSelectState { + public static final String PRIMARY_STYLENAME = "v-select"; { - primaryStyleName = "v-select"; + primaryStyleName = PRIMARY_STYLENAME; } @DelegateToWidget public int rows; -- cgit v1.2.3