From 8fe87084b9418d12ad57d11d713d85cd5862724c Mon Sep 17 00:00:00 2001
From: hlxnd <hal.x@web.de>
Date: Tue, 28 Mar 2017 15:27:12 +0200
Subject: Fix ComboBox item select method in example (#8964)

---
 documentation/components/components-combobox.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'documentation/components/components-combobox.asciidoc')

diff --git a/documentation/components/components-combobox.asciidoc b/documentation/components/components-combobox.asciidoc
index e78ea6395d..7f7640a079 100644
--- a/documentation/components/components-combobox.asciidoc
+++ b/documentation/components/components-combobox.asciidoc
@@ -82,7 +82,7 @@ select.setNewItemHandler(inputString -> {
     select.setItems(planets);
 
     // Remember to set the selection to the new item
-    select.select(newPlanet);
+    select.setSelectedItem(newPlanet);
 });
 ----
 
-- 
cgit v1.2.3

