aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/components/components-combobox.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/components/components-combobox.asciidoc')
-rw-r--r--documentation/components/components-combobox.asciidoc2
1 files changed, 1 insertions, 1 deletions
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);
});
----