summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-04-20 13:14:05 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-04-20 13:14:05 +0300
commitdfd1f04f4f56f09d8487cf08abef2fc17d5c4169 (patch)
tree9f6871aba2fde2f6a89652724b8aeef8ddb5fbde /client
parent37219932b913179910fa4e0e005f9417eac93d95 (diff)
downloadvaadin-framework-dfd1f04f4f56f09d8487cf08abef2fc17d5c4169.tar.gz
vaadin-framework-dfd1f04f4f56f09d8487cf08abef2fc17d5c4169.zip
Fix changing primary style name for NativeSelect (#9016)
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VNativeSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
index 46df030f95..d838d9b3dd 100644
--- a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
+++ b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java
@@ -44,7 +44,7 @@ public class VNativeSelect extends FocusableFlowPanelComposite
@Override
public void setStylePrimaryName(String style) {
super.setStylePrimaryName(style);
- setStylePrimaryName(listBox.getElement(), style);
+ getListBox().setStyleName(style + "-select");
}
/**