We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adab386 commit 494aae9Copy full SHA for 494aae9
src/main/java/com/flowingcode/vaadin/addons/localecombobox/LocaleComboBox.java
@@ -52,7 +52,7 @@ public class LocaleComboBox extends ComboBox<Locale> {
52
* These enums can be used in {@link #setDisplayMode(DisplayMode)} to easily switch between the
53
* built-in display modes.
54
*/
55
- public enum DisplayMode {
+ public enum DisplayMode {
56
57
/**
58
* Default display mode.
@@ -199,8 +199,9 @@ private String getFlagCode(Locale locale) {
199
200
private void onValueChange(ComponentValueChangeEvent<ComboBox<Locale>, Locale> event) {
201
202
- if (!this.hasFlags)
+ if (!this.hasFlags) {
203
return;
204
+ }
205
206
Locale newValue = event.getValue();
207
this.setPrefixFlag(newValue);
0 commit comments