summaryrefslogtreecommitdiffstats
path: root/scene/gui/option_button.cpp
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-05-11 18:32:53 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2019-05-31 14:56:49 +0200
commit9de912caf578c2c8ac0354a6fd6c962d66d3807d (patch)
tree266cd5f31d67f15212899166844badab38788b75 /scene/gui/option_button.cpp
parent7112a45d9928562722e6b91d3482b29df8ed5ff8 (diff)
downloadredot-engine-9de912caf578c2c8ac0354a6fd6c962d66d3807d.tar.gz
Improvements to incremental search
Diffstat (limited to 'scene/gui/option_button.cpp')
-rw-r--r--scene/gui/option_button.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp
index 694065497a..7027fceb84 100644
--- a/scene/gui/option_button.cpp
+++ b/scene/gui/option_button.cpp
@@ -354,6 +354,7 @@ OptionButton::OptionButton() {
add_child(popup);
popup->set_pass_on_modal_close_click(false);
popup->set_notify_transform(true);
+ popup->set_allow_search(true);
popup->connect("id_pressed", this, "_selected");
popup->connect("id_focused", this, "_focused");
popup->connect("popup_hide", this, "set_pressed", varray(false));